Merge pull request '修复错误码' (#114) from feat-IRONFANS-53-20240205-Robin into main
Reviewed-on: #114
This commit is contained in:
commit
0b2d00d47e
|
@ -525,6 +525,7 @@ func (s *Service) ApiGetStreamerWxIdBusinessValidate(ctx *gin.Context, req *stre
|
|||
}
|
||||
|
||||
func (s *Service) ApiCreateMomentBusinessValidate(ctx *gin.Context, req *momentproto.ApiCreateReq) (ec errcode.ErrCode) {
|
||||
ec = errcode.ErrCodeMomentSrvOk
|
||||
|
||||
resultList := businessvalidator.NewAuthBusinessValidator(ctx, req).
|
||||
QueryMomentCreateTimes(_DefaultMomentCreateTimes.OpGetAndUpdate, req.GetBaseRequest().Mid).
|
||||
|
@ -533,7 +534,7 @@ func (s *Service) ApiCreateMomentBusinessValidate(ctx *gin.Context, req *momentp
|
|||
Collect()
|
||||
ec, _ = resultList[0].(errcode.ErrCode)
|
||||
if ec != errcode.ErrCodeLoginSrvOk {
|
||||
logger.Error("ApiSendVeriCodeBusinessValidate business validation failed!")
|
||||
logger.Error("ApiCreateMomentBusinessValidate business validation failed!")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue