Merge pull request 'by Robin at 20240628' (#575) from feat-IRONFANS-148-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/575
This commit is contained in:
chenhao 2024-06-28 23:25:49 +08:00
commit b468b42b5c
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package controller
import ( import (
"service/api/errcode" "service/api/errcode"
"service/api/message/response"
hvyogoproto "service/api/proto/hvyogo/proto" hvyogoproto "service/api/proto/hvyogo/proto"
"service/app/mix/service" "service/app/mix/service"
"service/bizcommon/util" "service/bizcommon/util"
@ -64,6 +65,10 @@ func ApiHvyogoSingleDistribute(ctx *gin.Context) {
return return
} }
if data.StatusCode != response.StatusCodeSuccess {
ReplyErrorMsg(ctx, data.StatusText)
}
ReplyOk(ctx, data) ReplyOk(ctx, data)
} }