Browse Source

add: 给前端的测试分支;

test-20240527
龚宝雄 6 months ago
parent
commit
8020e53943
  1. 4
      nlsso-server/src/main/resources/config/application-dev.yml
  2. 4
      nlsso-server/src/main/resources/config/application-prod.yml
  3. 2
      nlsso-server/src/main/resources/config/application.yml

4
nlsso-server/src/main/resources/config/application-dev.yml

@ -10,9 +10,9 @@ spring:
datasource:
mysql:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:nl_sq_wms_test}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
url: jdbc:log4jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:nl_sq_wms}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
username: ${DB_USER:root}
password: ${DB_PWD:123456}
password: ${DB_PWD:NLABC&hl123}
type: com.alibaba.druid.pool.DruidDataSource
mysql_srm:
# driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy

4
nlsso-server/src/main/resources/config/application-prod.yml

@ -10,9 +10,9 @@ spring:
datasource:
mysql:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:nl_sq_wms}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
url: jdbc:log4jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:nl_sq_wms}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
username: ${DB_USER:root}
password: ${DB_PWD:123456}
password: ${DB_PWD:NLABC&hl123}
type: com.alibaba.druid.pool.DruidDataSource
mysql_srm:
# driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy

2
nlsso-server/src/main/resources/config/application.yml

@ -4,7 +4,7 @@ server:
relaxed-path-chars: [ '|','{','}','[',']' ] #字符问题: https://blog.csdn.net/weixin_41996632/article/details/90715118
spring:
profiles:
active: devLocal
active: dev
datasource:
druid:
initial-size: 5 #初始化时建立物理连接的个数

Loading…
Cancel
Save