by Robin at 20240427

This commit is contained in:
Leufolium 2024-04-27 19:48:57 +08:00
parent 14d86ae777
commit 27cda44de3
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func ApiCreateZone(ctx *gin.Context) {
ec := service.DefaultService.ApiCreateZone(ctx, req)
if ec != errcode.ErrCodeZoneSrvOk {
logger.Error("ApiCreateZone fail, req: %v, ec: %v", util.ToJson(req), ec)
ReplyErrorMsg(ctx, "server error")
ReplyErrCodeMsg(ctx, ec)
return
}