18 lines
537 B
Go
18 lines
537 B
Go
package proto
|
||
|
||
import (
|
||
"fmt"
|
||
"service/library/validator"
|
||
)
|
||
|
||
// op 人工批量审核通过
|
||
func (p *OpPassBatchReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||
params = make([]*validator.JsonParam, 1+len(p.ImageAuditTasks))
|
||
params[0] = validator.NewStructSliceParam("请提供欲人工审核通过的任务!", len(p.ImageAuditTasks))
|
||
for i, item := range p.ImageAuditTasks {
|
||
params[1+i] = validator.NewStructPtrParam(fmt.Sprintf("欲审核通过的第%v个任务非空校验失败!", i), item)
|
||
}
|
||
|
||
return params
|
||
}
|