From d63b4703ef5017a6b49571b1558f6716f55733f2 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 17 十月 2022 09:14:48 +0800 Subject: [PATCH] 1、修改所有Mapper的删除功能 2、用户添加批量修改密码功能 3、添加Java的GDAL操作类 --- src/main/resources/application.yml | 39 ++++++++++++++++++++++++--------------- 1 files changed, 24 insertions(+), 15 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 28d2876..cdd9d9c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -9,13 +9,31 @@ name: land spring: + # redis + redis: + database: 0 + host: 127.0.0.1 + port: 6379 + password: rediS_5L#F4_Server + timeout: 6000 # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級 + pool: + max-active: 1000 # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級 + max-wait: -1 # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 + max-idle: 10 # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� + min-idle: 5 # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� + # session session: timeout: PT20M # 20鍒嗛挓 - + # jackson + jackson: + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + locale: zh_CN + # datasource datasource: name: prod # JDBC 鍩烘湰閰嶇疆 - url: jdbc:postgresql://192.168.20.39:5433/langfang?useAffectedRows=true + url: jdbc:postgresql://127.0.0.1:5432/langfang?useAffectedRows=true username : postgres password: postgres driver-class-name: org.postgresql.Driver @@ -30,7 +48,6 @@ removeAbandonedTimeout: 180 # 鍏抽棴 abanded 杩炴帴鏃惰緭鍑洪敊璇棩蹇� logAbandoned: true - # 閰嶇疆杩炴帴姹犱俊鎭� druid: ## 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� @@ -53,7 +70,7 @@ test-on-borrow: false # 濡傛灉涓簍rue锛堥粯璁alse锛夛紝褰撳簲鐢ㄤ娇鐢ㄥ畬杩炴帴锛岃繛鎺ユ睜鍥炴敹杩炴帴鐨勬椂鍊欎細鍒ゆ柇璇ヨ繛鎺ユ槸鍚﹁繕鍙敤 test-on-return: false - + # servlet閰嶇疆 stat-view-servlet: # sql鐩戞帶寮�鍏� enabled: true @@ -90,20 +107,12 @@ log-slow-sql: true slow-sql-millis: 2000 - redis: - host: 192.168.20.39 - port: 6379 - password: rediS_5L#F4_Server - database: 1 - jackson: - time-zone: GMT+8 - date-format: yyyy-MM-dd HH:mm:ss - +# mybatis mybatis: type-aliases-package: com.lf.server.mapper config-location: classpath:mybatis.xml mapper-locations: classpath:mapper/**/*.xml - +# logging logging: config: classpath:logback-spring.xml @@ -126,4 +135,4 @@ # 鍏变韩鐩綍 share: D:\LF\share # 涓存椂鐩綍 - temp: D:\LF\temp \ No newline at end of file + temp: D:\LF\temp -- Gitblit v1.9.3