by Robin at 20240521
This commit is contained in:
parent
acb3e2fc24
commit
0a287ebbfc
|
@ -25,25 +25,3 @@ func (p *OpDeleteReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
|||
params = append(params, validator.NewInt64PtrParam("请填写空间id!", p.Zid))
|
||||
return
|
||||
}
|
||||
|
||||
func (p *OpCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
params = append(params, validator.NewInt64PtrParam("请填写空间id!", p.ZoneThirdPartner.Zid))
|
||||
params = append(params, validator.NewInt64PtrParam("请填写代运营用户id!", p.ZoneThirdPartner.ThirdPartnerMid))
|
||||
params = append(params, validator.NewFloat64PtrParam("请填写分成比例!", p.ZoneThirdPartner.SharingRatio))
|
||||
return
|
||||
}
|
||||
|
||||
func (p *OpUpdateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
|
||||
params = append(params, validator.NewInt64PtrParam("请填写空间id!", p.Zid))
|
||||
return
|
||||
}
|
||||
|
||||
func (p *OpDeleteReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
|
||||
params = append(params, validator.NewInt64PtrParam("请填写空间id!", p.Zid))
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue