service/api/proto/feedback/proto/not_null_def_api.go

14 lines
395 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package proto
import "service/library/validator"
// api 创建
func (p *ApiCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
params = make([]*validator.JsonParam, 0)
params = append(params, validator.NewInt64PtrParam("请填写反馈用户MID", p.Feedback.Mid))
params = append(params, validator.NewStringPtrParam("请填写问题描述!", p.Discription))
return
}