diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 2a8c87f..bbcddcf 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -18,9 +18,11 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) - url: jdbc:mysql://211.149.129.64:33060//hot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true +# url: jdbc:mysql://211.149.129.64:33060/hot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://nzd.xiaoshi98.top:50001/wucaixing-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root - password: Hot20260401 +# password: Hot20260401 + password: nswi123456 # # 从库数据源 # slave: # lazy: true @@ -71,7 +73,7 @@ spring.data: # 端口,默认为6379 port: 63799 # 数据库索引 - database: 0 + database: 12 # redis 密码必须配置 password: test13579 # 连接超时时间 @@ -246,10 +248,10 @@ gotenberg: --- # app 学习报表验真与外网地址 app: - web-base-url: ${APP_WEB_BASE_URL:http://192.168.24.153:19090} + web-base-url: ${APP_WEB_BASE_URL:https://hott.xiaoshi98.top//prod-api} verify: enabled: ${APP_VERIFY_ENABLED:true} - secret: ${APP_VERIFY_SECRET:qwerqweqadbada} + secret: ${APP_VERIFY_SECRET:@dasfsfasbaf3#q1} ticket-expire-days: ${APP_VERIFY_EXPIRE_DAYS:1095} snapshot-mode: true @@ -257,4 +259,4 @@ app: # 企业配置 company: # 上线应自动切换生成环境的地址 - register-url: http://192.168.24.153 \ No newline at end of file + register-url: https://hott.xiaoshi98.top diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index fdeeaa6..e580f5d 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -17,7 +17,7 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) - url: jdbc:mysql://192.168.129.64:33060/wucaixing?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://172.21.143.42:33060/wucaixing?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root password: Hot20260401 # # 从库数据源 @@ -66,7 +66,7 @@ spring: spring.data: redis: # 地址 - host: 192.168.129.64 + host: 172.21.143.42 # 端口,默认为6379 port: 63799 # 数据库索引 @@ -241,7 +241,7 @@ justauth: --- # Gotenberg 配置 gotenberg: - base-url: http://192.168.129.64:3000 + base-url: http://172.21.143.42:3000 --- # app 学习报表验真与外网地址 app: diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 3a478c8..bb07ae0 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -17,11 +17,9 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) -# url: jdbc:mysql://211.149.129.64:33060/hot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true - url: jdbc:mysql://nzd.xiaoshi98.top:50001/wucaixing-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://192.168.129.64:33060/wucaixing?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root -# password: Hot20260401 - password: nswi123456 + password: Hot20260401 # # 从库数据源 # slave: # lazy: true @@ -68,13 +66,13 @@ spring: spring.data: redis: # 地址 - host: 127.0.0.1 + host: 192.168.129.64 # 端口,默认为6379 - port: 6379 + port: 63799 # 数据库索引 -# database: 10 + database: 13 # redis 密码必须配置 -# password: test13579 + password: Hot20260401 # 连接超时时间 timeout: 10s # 是否开启ssl @@ -243,11 +241,11 @@ justauth: --- # Gotenberg 配置 gotenberg: - base-url: http://pdf.xiaoshi98.top + base-url: http://192.168.129.64:3000 --- # app 学习报表验真与外网地址 app: - web-base-url: ${APP_WEB_BASE_URL:https://hott.xiaoshi98.top//prod-api} + web-base-url: ${APP_WEB_BASE_URL:https://wcx.hotwj.cn/prod-api} verify: enabled: ${APP_VERIFY_ENABLED:true} secret: ${APP_VERIFY_SECRET:@dasfsfasbaf3#q1} @@ -257,4 +255,4 @@ app: # 企业配置 company: # 上线应自动切换生成环境的地址 - register-url: https://hott.xiaoshi98.top \ No newline at end of file + register-url: https://wcx.hotwj.cn diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 58ea105..fefca00 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,7 +1,7 @@ # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 19090 + port: 19089 servlet: # 应用的访问路径 context-path: / @@ -70,7 +70,7 @@ spring: # 国际化资源文件路径 basename: i18n/messages profiles: - active: test + active: dev # 文件上传 servlet: multipart: