mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-30 17:00:26 +08:00
改进操作日志
This commit is contained in:
@@ -49,7 +49,7 @@ func (this *IndexAction) RunPost(params struct {
|
||||
Must *actions.Must
|
||||
}) {
|
||||
// 记录日志
|
||||
this.CreateLog(oplogs.LevelInfo, "修改代理服务 %d 域名", params.ServerId)
|
||||
defer this.CreateLog(oplogs.LevelInfo, "修改代理服务 %d 域名", params.ServerId)
|
||||
|
||||
serverNames := []*serverconfigs.ServerNameConfig{}
|
||||
err := json.Unmarshal([]byte(params.ServerNames), &serverNames)
|
||||
|
||||
Reference in New Issue
Block a user