|
@@ -76,6 +76,7 @@ func (this *SysRoleController) Add() {
|
|
|
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
+ br.IsAddLog = true
|
|
|
br.Msg = "新增成功"
|
|
|
}
|
|
|
|
|
@@ -631,6 +632,7 @@ func (this *SysRoleController) SysRoleMenuAuthSave() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ br.IsAddLog = true
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "设置成功"
|
|
@@ -725,17 +727,16 @@ func (this *SysRoleController) SystemConfig() {
|
|
|
ConfKey: "LoginUrl",
|
|
|
ConfVal: conf["LoginUrl"],
|
|
|
},
|
|
|
- system.BusinessConf{
|
|
|
- ConfKey: "KnowledgeBaseName",
|
|
|
- ConfVal: conf["KnowledgeBaseName"],
|
|
|
- }, system.BusinessConf{
|
|
|
+ system.BusinessConf{
|
|
|
+ ConfKey: "KnowledgeBaseName",
|
|
|
+ ConfVal: conf["KnowledgeBaseName"],
|
|
|
+ }, system.BusinessConf{
|
|
|
ConfKey: "NotBackendGenerate",
|
|
|
ConfVal: conf["NotBackendGenerate"],
|
|
|
-
|
|
|
- }, system.BusinessConf{
|
|
|
- ConfKey: models.KnowledgeBaseName,
|
|
|
- ConfVal: conf[models.KnowledgeBaseName],
|
|
|
- })
|
|
|
+ }, system.BusinessConf{
|
|
|
+ ConfKey: models.KnowledgeBaseName,
|
|
|
+ ConfVal: conf[models.KnowledgeBaseName],
|
|
|
+ })
|
|
|
|
|
|
osc := system.BusinessConf{
|
|
|
ConfKey: "ObjectStorageClient",
|