Merge remote-tracking branch 'origin/main' into feat-20240117-001-Robin
This commit is contained in:
commit
d072565b80
|
@ -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