Merge pull request 'by Robin at 20240427' (#367) from feat-IRONFANS-70 into main
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/367
This commit is contained in:
commit
6bf1f9e472
|
@ -173,7 +173,7 @@ var ErrCodeMsgMap = map[ErrCode]string{
|
|||
ErrCodeZoneSrvFail: "空间服务错误",
|
||||
ErrCodeZoneNotExist: "空间不存在",
|
||||
ErrCodeUnlockedZone: "访客未解锁该空间",
|
||||
ErrCodeZoneDuplicateKey: "空间重复创建",
|
||||
ErrCodeZoneDuplicateKey: "您已创建空间",
|
||||
|
||||
ErrCodeZoneMomentSrvFail: "私密圈动态服务错误",
|
||||
ErrCodeZoneMomentNotExist: "私密圈动态不存在",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue