|
@@ -118,7 +118,7 @@ func syscfg_misc_set(resp http.ResponseWriter, req *http.Request) {
|
|
|
if _, err := mdl.Set("log_kept_days", logKeptDaysStr); err != nil {
|
|
|
resp.Write(ERROR_RET(9, "操作失败(log_kept_days)"))
|
|
|
}
|
|
|
- SYSLOG("WARN", fmt.Sprintf("管理员#%d %s %s修改了其它配置", sess.Account.Id, sess.Account.Account, sess.Account.Account))
|
|
|
+ SYSLOG("WARN", fmt.Sprintf("管理员#%d %s %s修改了其它配置", sess.Account.Id, sess.Account.Name, sess.Account.Account))
|
|
|
//更新配置缓存
|
|
|
err := SysCfg.Load()
|
|
|
if err != nil {
|