by Robin at 20240705
This commit is contained in:
parent
57d6fb8fdf
commit
c2567cbab4
|
@ -287,7 +287,8 @@ const (
|
|||
|
||||
// 主播入驻完善人工复审
|
||||
const (
|
||||
StreamerAuthApprovalDetailsApprove_Waiting = 0 //等待复审
|
||||
StreamerAuthApprovalDetailsApprove_Passed = 1 //已复审通过
|
||||
StreamerAuthApprovalDetailsApprove_Rejected = 2 //已复审拒绝
|
||||
StreamerAuthApprovalDetailsApprove_Waiting = 0 //等待复审
|
||||
StreamerAuthApprovalDetailsApprove_Passed = 1 //已复审通过
|
||||
StreamerAuthApprovalDetailsApprove_Rejected = 2 //已复审拒绝
|
||||
StreamerAuthApprovalDetailsApprove_Approving = 3 //跟进中
|
||||
)
|
||||
|
|
|
@ -1095,6 +1095,11 @@ func (s *Service) ApiGetStreamerAuthApprovalBasicList(ctx *gin.Context, req *str
|
|||
ec = errcode.ErrCodeStreamerAuthApprovalBasicSrvFail
|
||||
return
|
||||
}
|
||||
if streamerauthapprovalbasic == nil {
|
||||
logger.Error("No streamer auth approval basic entity was found, req: %v", util.ToJson(req))
|
||||
ec = errcode.ErrCodeStreamerAuthApprovalBasicNotExist
|
||||
return
|
||||
}
|
||||
|
||||
account, err := _DefaultAccount.OpListByMid(ctx, &accountproto.OpListByMidReq{
|
||||
Mid: streamerauthapprovalbasic.Mid,
|
||||
|
@ -1168,6 +1173,11 @@ func (s *Service) ApiGetStreamerAuthApprovalDetailsList(ctx *gin.Context, req *s
|
|||
ec = errcode.ErrCodeStreamerAuthApprovalDetailsSrvFail
|
||||
return
|
||||
}
|
||||
if streamerauthapprovaldetails == nil {
|
||||
logger.Error("No streamer auth approval details entity was found, req: %v", util.ToJson(req))
|
||||
ec = errcode.ErrCodeStreamerAuthApprovalDetailsNotExist
|
||||
return
|
||||
}
|
||||
|
||||
account, err := _DefaultAccount.OpListByMid(ctx, &accountproto.OpListByMidReq{
|
||||
Mid: streamerauthapprovaldetails.Mid,
|
||||
|
|
Loading…
Reference in New Issue