mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-24 10:56:36 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -2,6 +2,7 @@ package serverNames
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/langs/codes"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
|
||||
)
|
||||
|
||||
@@ -17,7 +18,7 @@ func (this *AuditAction) RunPost(params struct {
|
||||
|
||||
CSRF *actionutils.CSRF
|
||||
}) {
|
||||
defer this.CreateLogInfo("提交服务 %d 域名审核", params.ServerId)
|
||||
defer this.CreateLogInfo(codes.Server_LogSubmitAuditingServer, params.ServerId)
|
||||
|
||||
if !params.AuditingOK && len(params.AuditingReason) == 0 {
|
||||
this.FailField("auditingReason", "请输入审核不通过原因")
|
||||
|
||||
Reference in New Issue
Block a user