增加生产环境配置
This commit is contained in:
parent
d4e283b08d
commit
c03ec8d1dc
|
|
@ -1,10 +1,14 @@
|
|||
spring:
|
||||
datasource:
|
||||
url:
|
||||
username:
|
||||
password:
|
||||
url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: prodCZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
||||
parameter:
|
||||
### 这个根据自己的情况配置
|
||||
domain: https://ky.sxczgkj.cn
|
||||
|
||||
rabbitmq:
|
||||
enabled: true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: false
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
spring:
|
||||
datasource:
|
||||
druid:
|
||||
url:
|
||||
username:
|
||||
password:
|
||||
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: root
|
||||
password: prodCZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
||||
scheduling:
|
||||
|
|
@ -11,7 +11,7 @@ scheduling:
|
|||
|
||||
ip:
|
||||
config:
|
||||
enabled: true
|
||||
enabled: false
|
||||
|
||||
logging:
|
||||
config: classpath:log4j2-prod.xml
|
||||
|
|
|
|||
|
|
@ -781,10 +781,10 @@
|
|||
, btn: ['保存', '取消',]
|
||||
, shadeClose: true
|
||||
, btn1: function (index, layero) {
|
||||
if (!$("#groupNo").val()) {
|
||||
/* if (!$("#groupNo").val()) {
|
||||
layer.msg("设备分组不能为空!", {icon: 2});
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
if (!$("#code").val()) {
|
||||
layer.msg("设备类型不能为空!", {icon: 2});
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
spring:
|
||||
datasource:
|
||||
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
|
||||
password: CZGmysqlroot@123
|
||||
password: prodCZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
||||
scheduling:
|
||||
|
|
|
|||
Loading…
Reference in New Issue