service/api/proto/feedback/proto/not_null_def_op.go

15 lines
485 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 *OpUpdateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
params = make([]*validator.JsonParam, 0)
params = append(params, validator.NewInt64PtrParam("请提供Id", p.Feedback.Id))
params = append(params, validator.NewInt64PtrParam("请更新反馈状态!", p.Feedback.Status))
params = append(params, validator.NewStringPtrParam("请提供更新备注!", p.Feedback.Remarks))
return
}