增加生产环境配置

This commit is contained in:
zhujunshuai 2023-02-24 14:17:22 +08:00
parent d4e283b08d
commit c03ec8d1dc
5 changed files with 17 additions and 12 deletions

View File

@ -1,10 +1,14 @@
spring: spring:
datasource: datasource:
url: url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: username: root
password: password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
parameter:
### 这个根据自己的情况配置
domain: https://ky.sxczgkj.cn
rabbitmq: rabbitmq:
enabled: true enabled: true

View File

@ -1,6 +1,7 @@
mybatis-plus: mybatis-plus:
configuration: configuration:
map-underscore-to-camel-case: false map-underscore-to-camel-case: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config: global-config:
db-config: db-config:
id-type: auto id-type: auto

View File

@ -1,17 +1,17 @@
spring: spring:
datasource: datasource:
druid: druid:
url: url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&noAccessToProcedureBodies=true&allowMultiQueries=true
username: username: root
password: password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
scheduling: scheduling:
enabled: true enabled: true
ip: ip:
config: config:
enabled: true enabled: false
logging: logging:
config: classpath:log4j2-prod.xml config: classpath:log4j2-prod.xml

View File

@ -781,10 +781,10 @@
, btn: ['保存', '取消',] , btn: ['保存', '取消',]
, shadeClose: true , shadeClose: true
, btn1: function (index, layero) { , btn1: function (index, layero) {
if (!$("#groupNo").val()) { /* if (!$("#groupNo").val()) {
layer.msg("设备分组不能为空!", {icon: 2}); layer.msg("设备分组不能为空!", {icon: 2});
return; return;
} }*/
if (!$("#code").val()) { if (!$("#code").val()) {
layer.msg("设备类型不能为空!", {icon: 2}); layer.msg("设备类型不能为空!", {icon: 2});
return; return;

View File

@ -1,9 +1,9 @@
spring: spring:
datasource: datasource:
druid: druid:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root username: root
password: CZGmysqlroot@123 password: prodCZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
scheduling: scheduling: