优化文字提示

This commit is contained in:
GoEdgeLab
2023-07-19 19:40:11 +08:00
parent 30be208bab
commit e3f0e11458
2 changed files with 2 additions and 2 deletions

View File

@@ -285,7 +285,7 @@ func (this *CreateAction) RunPost(params struct {
return return
} }
if len(dupResp.DuplicatedServerNames) > 0 { if len(dupResp.DuplicatedServerNames) > 0 {
this.Fail("域名 " + strings.Join(dupResp.DuplicatedServerNames, ", ") + " 已经被其他服务所占用,不能重复使用") this.Fail("域名 " + strings.Join(dupResp.DuplicatedServerNames, ", ") + " 已经被其他网站所占用,不能重复使用")
} }
} }
} }

View File

@@ -120,7 +120,7 @@ func (this *IndexAction) RunPost(params struct {
return return
} }
if len(dupResp.DuplicatedServerNames) > 0 { if len(dupResp.DuplicatedServerNames) > 0 {
this.Fail("域名 " + strings.Join(dupResp.DuplicatedServerNames, ", ") + " 已经被其他服务所占用,不能重复使用") this.Fail("域名 " + strings.Join(dupResp.DuplicatedServerNames, ", ") + " 已经被其他网站所占用,不能重复使用")
} }
} }