From 73e913fb24bf163ab9c5332ab960b1eb56a6402b Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 17 七月 2025 13:41:24 +0800 Subject: [PATCH] 修改common的对象引用 --- se-system/src/main/resources/application-prod.yml | 33 +++++++++++++++++++++++---------- 1 files changed, 23 insertions(+), 10 deletions(-) diff --git a/se-system/src/main/resources/application-prod.yml b/se-system/src/main/resources/application-prod.yml index eaa430f..dda1202 100644 --- a/se-system/src/main/resources/application-prod.yml +++ b/se-system/src/main/resources/application-prod.yml @@ -9,15 +9,13 @@ context-path: / spring: - application: - name: se-system mvc: static-path-pattern: /static/** # redis redis: - database: 0 - host: 192.168.11.203 - port: 6379 + database: 1 + host: 127.0.0.1 + port: 6369 password: rediS_5L#F4_Server # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級 timeout: 10000 @@ -51,9 +49,11 @@ # datasource datasource: type: com.alibaba.druid.pool.DruidDataSource - url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true + #url: jdbc:postgresql://192.168.11.205:5433/jhs?useAffectedRows=true + url: jdbc:postgresql://127.0.0.1:5433/jhs?useAffectedRows=true username: postgres - password: Postgres!_17_jHs + #password: Postgres!_14_Lf + password: postgres driver-class-name: org.postgresql.Driver platform: POSTGRESQL filters: stat,wall,log4j @@ -85,8 +85,23 @@ mybatis-plus: type-aliases-package: com.terra.system.entity - config-location: classpath:mybatis.xml mapper-locations: classpath:mapper/**/*.xml + +# springdoc閰嶇疆 +springdoc: + gatewayUrl: /${spring.application.name} + api-docs: + # 鏄惁寮�鍚帴鍙f枃妗� + enabled: true + info: + # 鏍囬 + title: '绯荤粺妯″潡鎺ュ彛鏂囨。' + # 鎻忚堪 + description: '绯荤粺妯″潡鎺ュ彛鎻忚堪' + # 浣滆�呬俊鎭� + contact: + name: wuww + url: https://www.smartearth.cn/ # logging logging: @@ -101,8 +116,6 @@ # 绯荤粺閰嶇疆 sys: - # 鍚敤swagger - swaggerEnable: true # 鑷姩鏌ヨ autoQuery: 0 # 绠$悊鍛業D -- Gitblit v1.9.3