From 9cd82d70df40b547403389b54c6043592ab637e4 Mon Sep 17 00:00:00 2001 From: p-honggang.li <p-honggang.li@pcitc.com> Date: 星期三, 03 九月 2025 17:07:53 +0800 Subject: [PATCH] 新增订单表是否已评价字段 --- /dev/null | 72 ------------------------------------ src/main/resources/application.yml | 6 +- 2 files changed, 3 insertions(+), 75 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 52bb679..405988c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,13 +1,13 @@ server: - port: 8080 + port: 8089 servlet: context-path: /admin spring: application: - name: web-manage-back + name: trade-back profiles: - active: dev + active: test jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 diff --git a/target/classes/application-dev.yml b/target/classes/application-dev.yml deleted file mode 100644 index 7981842..0000000 --- a/target/classes/application-dev.yml +++ /dev/null @@ -1,69 +0,0 @@ -spring: - # 鏁版嵁婧愰厤缃� - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://localhost:5432/web_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: postgres - password: AES:d9d2d3e0d586e76d02a97c451f3256bffdc806b4c7626904 - druid: - # 鍒濆杩炴帴鏁� - initial-size: 5 - # 鏈�灏忚繛鎺ユ睜鏁伴噺 - min-idle: 10 - # 鏈�澶ц繛鎺ユ睜鏁伴噺 - max-active: 20 - # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� - max-wait: 60000 - # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 - time-between-eviction-runs-millis: 60000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - min-evictable-idle-time-millis: 300000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - max-evictable-idle-time-millis: 900000 - # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁� - validation-query: SELECT 1 - test-while-idle: true - test-on-borrow: false - test-on-return: false - # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� - pool-prepared-statements: true - max-pool-prepared-statement-per-connection-size: 20 - # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧� - filters: stat,wall,slf4j - # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 - connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 - # 閰嶇疆DruidStatFilter - web-stat-filter: - enabled: true - url-pattern: /* - exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" - # 閰嶇疆DruidStatViewServlet - stat-view-servlet: - enabled: true - url-pattern: /druid/* - reset-enable: false - login-username: admin - login-password: 123456 - - # Redis閰嶇疆 - redis: - host: localhost - port: 6379 - password: - database: 0 - timeout: 10000ms - lettuce: - pool: - max-active: 8 - max-wait: -1ms - max-idle: 8 - min-idle: 0 - -# MinIO閰嶇疆 -minio: - endpoint: http://localhost:9000 - access-key: minioadmin - secret-key: minioadmin - bucket-name: web-manage - diff --git a/target/classes/application-prod.yml b/target/classes/application-prod.yml deleted file mode 100644 index 7581c4d..0000000 --- a/target/classes/application-prod.yml +++ /dev/null @@ -1,70 +0,0 @@ - # 鏁版嵁婧愰厤缃� -spring: - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://192.168.20.52:5432/zypt-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: postgres - password: AES:f9d2d3e0d586e76d14aba9d24666acef98c4605be9ec680ac4cbeede7ad2 - druid: - # 鍒濆杩炴帴鏁� - initial-size: 5 - # 鏈�灏忚繛鎺ユ睜鏁伴噺 - min-idle: 10 - # 鏈�澶ц繛鎺ユ睜鏁伴噺 - max-active: 20 - # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� - max-wait: 60000 - # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 - time-between-eviction-runs-millis: 60000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - min-evictable-idle-time-millis: 300000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - max-evictable-idle-time-millis: 900000 - # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁� - validation-query: SELECT 1 - test-while-idle: true - test-on-borrow: false - test-on-return: false - # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� - pool-prepared-statements: true - max-pool-prepared-statement-per-connection-size: 20 - # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧� - filters: stat,wall,slf4j - # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 - connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 - # 閰嶇疆DruidStatFilter - web-stat-filter: - enabled: true - url-pattern: /* - exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" - # 閰嶇疆DruidStatViewServlet - stat-view-servlet: - enabled: true - url-pattern: /druid/* - reset-enable: false - login-username: admin - login-password: 123456 - - # Redis閰嶇疆 - redis: - host: 192.168.20.51 - port: 6379 - password: AES:c8d9cdfddcb4b32c677d657d2c8d56f9e7e4720832656637f5 - database: 4 - timeout: 10000ms - lettuce: - pool: - max-active: 8 - max-wait: -1ms - max-idle: 8 - min-idle: 0 -# MinIO閰嶇疆 -minio: - endpoint: http://192.168.20.52:9000 - access-key: minioadmin - secret-key: AES:c4d4cefddd95e6733df755af0e29839c104ee8baa55eb53cdc24 - part-size: 104857600 - bucket-name: dev - - diff --git a/target/classes/application-test.yml b/target/classes/application-test.yml deleted file mode 100644 index 58c3ec5..0000000 --- a/target/classes/application-test.yml +++ /dev/null @@ -1,69 +0,0 @@ - # 鏁版嵁婧愰厤缃� -spring: - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://localhost:5432/web_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: postgres - password: zkyxpostgres - druid: - # 鍒濆杩炴帴鏁� - initial-size: 5 - # 鏈�灏忚繛鎺ユ睜鏁伴噺 - min-idle: 10 - # 鏈�澶ц繛鎺ユ睜鏁伴噺 - max-active: 20 - # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� - max-wait: 60000 - # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 - time-between-eviction-runs-millis: 60000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - min-evictable-idle-time-millis: 300000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - max-evictable-idle-time-millis: 900000 - # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁� - validation-query: SELECT 1 - test-while-idle: true - test-on-borrow: false - test-on-return: false - # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� - pool-prepared-statements: true - max-pool-prepared-statement-per-connection-size: 20 - # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧� - filters: stat,wall,slf4j - # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 - connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 - # 閰嶇疆DruidStatFilter - web-stat-filter: - enabled: true - url-pattern: /* - exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" - # 閰嶇疆DruidStatViewServlet - stat-view-servlet: - enabled: true - url-pattern: /druid/* - reset-enable: false - login-username: admin - login-password: 123456 - - # Redis閰嶇疆 - redis: - host: 192.168.110.129 - port: 6379 - password: - database: 0 - timeout: 10000ms - lettuce: - pool: - max-active: 8 - max-wait: -1ms - max-idle: 8 - min-idle: 0 -# MinIO閰嶇疆 -minio: - endpoint: http://192.168.110.129:9000 - access-key: minioadmin - secret-key: minioadmin - bucket-name: web-manage - - diff --git a/target/classes/application.yml b/target/classes/application.yml deleted file mode 100644 index 52bb679..0000000 --- a/target/classes/application.yml +++ /dev/null @@ -1,72 +0,0 @@ -server: - port: 8080 - servlet: - context-path: /admin - -spring: - application: - name: web-manage-back - profiles: - active: dev - jackson: - date-format: yyyy-MM-dd HH:mm:ss - time-zone: GMT+8 - serialization: - write-dates-as-timestamps: false - #mcv閰嶇疆 - mvc: - pathmatch: - matching-strategy: ant_path_matcher - -# MyBatis Plus閰嶇疆 -mybatis-plus: - configuration: - # 寮�鍚┘宄板懡鍚� - map-underscore-to-camel-case: true - # 寮�鍚痵ql鏃ュ織 - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl - global-config: - db-config: - # 涓婚敭绫诲瀷 - id-type: auto - # 閫昏緫鍒犻櫎閰嶇疆 - mapper-locations: classpath*:/mapper/**/*.xml - -# 鏃ュ織閰嶇疆 -logging: - level: - com.webmanage: debug - org.springframework.web: debug - pattern: - console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{50} - %msg%n" - -# Knife4j閰嶇疆 -knife4j: - enable: true - setting: - language: zh-CN - enable-swagger-models: true - enable-document-manage: true - swagger-model-name: 瀹炰綋绫诲垪琛� - basic: - enable: false - -# 璐墿杞﹂厤缃� -cart: - # Redis缂撳瓨杩囨湡鏃堕棿锛堝ぉ锛� - expire-days: 30 - # 鏄惁鍚敤鏁版嵁搴撴寔涔呭寲 - enable-persistence: true - # 鏄惁鍚敤鏁版嵁涓�鑷存�ф鏌� - enable-consistency-check: true - # 鍚屾绛栫暐锛歳ealtime锛堝疄鏃跺悓姝ワ級銆乥atch锛堟壒閲忓悓姝ワ級銆乵anual锛堟墜鍔ㄥ悓姝ワ級 - sync-strategy: realtime - async: - executor: - core-pool-size: 4 - max-pool-size: 16 - queue-capacity: 500 - keep-alive-seconds: 60 - thread-name-prefix: async-cart- - wait-for-tasks-to-complete-on-shutdown: true - await-termination-seconds: 30 -- Gitblit v1.8.0