[系统用户]增加OTP动态密码二次认证

This commit is contained in:
刘祥超
2020-12-24 17:16:51 +08:00
parent 35d9007463
commit 7c96b25686
12 changed files with 330 additions and 30 deletions

View File

@@ -436,6 +436,14 @@ func (this *ServerService) UpdateServerNamesAuditing(ctx context.Context, req *p
}
}
// 通知服务更新
go func() {
err := this.notifyServerDNSChanged(req.ServerId)
if err != nil {
logs.Println("[DNS]notify server changed: " + err.Error())
}
}()
return this.Success()
}