增加生产环境配置

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,17 +1,17 @@
spring:
datasource:
druid:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver
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:
enabled: true
ip:
config:
enabled: true
enabled: false
logging:
config: classpath:log4j2-prod.xml

View File

@@ -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;