修复配置保存bug,swagger访问密码修改
This commit is contained in:
@@ -52,6 +52,8 @@ CRMEB打通版:https://gitee.com/ZhongBangKeJi/CRMEB
|
|||||||
|
|
||||||
本地启动Java Api项目接口地址:http://localhost:8080/swagger-ui.html# 8080为配置文件里配置的 server/port
|
本地启动Java Api项目接口地址:http://localhost:8080/swagger-ui.html# 8080为配置文件里配置的 server/port
|
||||||
|
|
||||||
|
prod环境swagger默认账号密码在 prod.yml配置里
|
||||||
|
|
||||||
### 运行环境
|
### 运行环境
|
||||||
|
|
||||||
运行环境要求JAVA1.8
|
运行环境要求JAVA1.8
|
||||||
|
|||||||
@@ -129,8 +129,6 @@ public class SystemConfigServiceImpl extends ServiceImpl<SystemConfigDao, System
|
|||||||
//检测form表单,并且返回需要添加的数据
|
//检测form表单,并且返回需要添加的数据
|
||||||
systemFormTempService.checkForm(systemFormCheckRequest);
|
systemFormTempService.checkForm(systemFormCheckRequest);
|
||||||
|
|
||||||
//修改之前的数据
|
|
||||||
updateStatusByFormId(systemFormCheckRequest.getId());
|
|
||||||
List<SystemConfig> systemConfigList = new ArrayList<>();
|
List<SystemConfig> systemConfigList = new ArrayList<>();
|
||||||
|
|
||||||
//批量添加
|
//批量添加
|
||||||
@@ -148,6 +146,10 @@ public class SystemConfigServiceImpl extends ServiceImpl<SystemConfigDao, System
|
|||||||
systemConfig.setTitle(systemFormItemCheckRequest.getTitle());
|
systemConfig.setTitle(systemFormItemCheckRequest.getTitle());
|
||||||
systemConfigList.add(systemConfig);
|
systemConfigList.add(systemConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//修改之前的数据
|
||||||
|
updateStatusByFormId(systemFormCheckRequest.getId());
|
||||||
|
|
||||||
saveBatch(systemConfigList);
|
saveBatch(systemConfigList);
|
||||||
|
|
||||||
//删除之前隐藏的数据
|
//删除之前隐藏的数据
|
||||||
|
|||||||
@@ -54,4 +54,4 @@ swagger:
|
|||||||
enable: true #是否开启界面
|
enable: true #是否开启界面
|
||||||
check: true #是否打开验证
|
check: true #是否打开验证
|
||||||
username: crmeb #访问swagger的账号
|
username: crmeb #访问swagger的账号
|
||||||
password: NeA6ThHma #访问swagger的密码
|
password: crmeb.com #访问swagger的密码
|
||||||
Reference in New Issue
Block a user