You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
755 B

package v1
type InsertMemberReq struct {
Name string `json:"name" v:"required#姓名不可为空!"`
Code string `json:"code" v:"required#国家/地区代码不可为空!"`
Tel string `json:"tel" v:"required#电话号码不可为空!"`
Type int `json:"type"`
Url string `json:"url"`
WeChat string `json:"weChat" v:"required#微信ID不可为空!"`
Email string `json:"email" v:"required#邮箱号不可为空!"`
}
type GetMemberListReq struct {
Page int `p:"page" d:"1"`
PageSize int `p:"page_size" d:"20"`
}
type UpdateStateReq struct {
Id int `json:"id" v:"required"`
State int `json:"state" v:"required|integer|in:0,1"`
}
type EditNoteReq struct {
Id int `json:"id" v:"required"`
Note string `json:"note"`
}