by Robin at 20240704
This commit is contained in:
parent
8822343f44
commit
ee862c8a2d
|
@ -7,7 +7,6 @@ import (
|
|||
// api 创建
|
||||
func (p *ApiCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
params = append(params, validator.NewInt64PtrParam("请确认用户的Mid", p.StreamerAuthApprovalBasic.Mid))
|
||||
params = append(params, validator.NewStructPtrParam("请设置您的头像", p.Avatar))
|
||||
params = append(params, validator.NewStringPtrParam("请输入您的联系方式", p.ContactWay))
|
||||
params = append(params, validator.NewStructPtrParam("请提供您的账号截图", p.AccountShot))
|
||||
|
|
|
@ -7,7 +7,6 @@ import (
|
|||
// op 创建
|
||||
func (p *OpCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
params = append(params, validator.NewInt64PtrParam("请确认用户的Mid", p.StreamerAuthApprovalBasic.Mid))
|
||||
params = append(params, validator.NewStructPtrParam("请设置您的头像", p.Avatar))
|
||||
params = append(params, validator.NewStringPtrParam("请输入您的联系方式", p.ContactWay))
|
||||
params = append(params, validator.NewStructPtrParam("请提供您的账号截图", p.AccountShot))
|
||||
|
|
|
@ -1051,6 +1051,7 @@ func (s *Service) ApiCreateStreamerAuthApprovalBasic(ctx *gin.Context, req *stre
|
|||
return
|
||||
}
|
||||
|
||||
req.StreamerAuthApprovalBasic.Mid = goproto.Int64(req.BaseRequest.Mid)
|
||||
err := _DefaultStreamerAuthApprovalBasic.OpCreate(ctx, &streamerauthapprovalbasicproto.OpCreateReq{
|
||||
BaseRequest: req.BaseRequest,
|
||||
StreamerAuthApprovalBasic: req.StreamerAuthApprovalBasic,
|
||||
|
@ -1118,6 +1119,7 @@ func (s *Service) ApiCreateStreamerAuthApprovalDetails(ctx *gin.Context, req *st
|
|||
return
|
||||
}
|
||||
|
||||
req.StreamerAuthApprovalDetails.Mid = goproto.Int64(req.BaseRequest.Mid)
|
||||
err := _DefaultStreamerAuthApprovalDetails.OpCreate(ctx, &streamerauthapprovaldetailsproto.OpCreateReq{
|
||||
BaseRequest: req.BaseRequest,
|
||||
StreamerAuthApprovalDetails: req.StreamerAuthApprovalDetails,
|
||||
|
|
Loading…
Reference in New Issue