奖励类型新增门店相关 id
This commit is contained in:
@ -14,12 +14,12 @@ type ListRes struct {
|
||||
}
|
||||
|
||||
type CreateReq struct {
|
||||
g.Meta `path:"/rewardType" method:"post" tags:"奖励类型" summary:"(系统)创建奖励类型"`
|
||||
Name string `json:"name" v:"required#名称不能为空" dc:"名称"`
|
||||
//Sort int `json:"sort" v:"required#排序不能为空" dc:"排序"`
|
||||
g.Meta `path:"/rewardType" method:"post" tags:"奖励类型" summary:"(系统)创建奖励类型"`
|
||||
Name string `json:"name" v:"required#名称不能为空" dc:"名称"`
|
||||
Code string `json:"code" v:"required#代号不能为空" dc:"代号"`
|
||||
Description string `json:"description" v:"required#描述不能为空" dc:"描述"`
|
||||
//Status int `json:"status" v:"required#状态不能为空" dc:"状态"`
|
||||
StoreId int `json:"store_id" dc:"门店ID"`
|
||||
}
|
||||
|
||||
type CreateRes struct {
|
||||
@ -33,6 +33,7 @@ type UpdateReq struct {
|
||||
Code string `json:"code" v:"required#代号不能为空" dc:"代号"`
|
||||
Description string `json:"description" v:"required#描述不能为空" dc:"描述"`
|
||||
Status int `json:"status" v:"required#状态不能为空" dc:"状态"`
|
||||
StoreId int `json:"store_id" dc:"门店ID"`
|
||||
}
|
||||
|
||||
type UpdateRes struct {
|
||||
|
||||
Reference in New Issue
Block a user