首先门店对网费进行 激励设置
This commit is contained in:
@ -105,3 +105,41 @@ type StoreMemberLevelRes struct {
|
||||
List interface{} `json:"list"`
|
||||
Total int64 `json:"total"`
|
||||
}
|
||||
type GetStoreAreaListReq struct {
|
||||
g.Meta `path:"/store/area" method:"get" tags:"Backend/Store" summary:"(系统、商户门店后台)获取门店区域列表"`
|
||||
StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"`
|
||||
}
|
||||
|
||||
type GetStoreAreaListRes struct {
|
||||
List interface{} `json:"list"`
|
||||
Total int `json:"total"`
|
||||
}
|
||||
|
||||
type GetNetfeeSettingReq struct {
|
||||
g.Meta `path:"/store/netfeeSetting" method:"get" tags:"Backend/Store" summary:"(系统、商户门店后台)获取门店网络费设置"`
|
||||
StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"`
|
||||
LevelId int64 `json:"levelId" v:"required#会员等级ID不能为空" dc:"会员等级ID"`
|
||||
AreaId int64 `json:"areaId" v:"required#区域ID不能为空" dc:"区域ID"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励ID不能为空" dc:"奖励ID"`
|
||||
}
|
||||
|
||||
type GetNetfeeSettingRes struct {
|
||||
Id int64 `json:"id" dc:"主键ID"` // 主键ID
|
||||
StoreId int64 `json:"storeId" dc:"门店ID"` // 门店ID
|
||||
RewardId int64 `json:"rewardId" dc:"奖励ID(rewards表主键)"` // 奖励ID(rewards表主键)
|
||||
AreaId int64 `json:"areaId" dc:"区域ID(外部系统)"` // 区域ID(外部系统)
|
||||
MemberLevelId int64 `json:"memberLevelId" dc:"会员等级ID(外部系统)"` // 会员等级ID(外部系统)
|
||||
PriceData string `json:"priceData" dc:"7x24价格矩阵"` // 7x24价格矩阵
|
||||
}
|
||||
type SaveNetfeeSettingReq struct {
|
||||
g.Meta `path:"/store/netfeeSetting" method:"post" tags:"Backend/Store" summary:"(系统、商户门店后台)保存门店网络费设置"`
|
||||
StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"`
|
||||
LevelId int64 `json:"levelId" v:"required#会员等级ID不能为空" dc:"会员等级ID"`
|
||||
AreaId int64 `json:"areaId" v:"required#区域ID不能为空" dc:"区域ID"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励ID不能为空" dc:"奖励ID"`
|
||||
PriceData string `json:"priceData" v:"required#价格矩阵不能为空" dc:"价格矩阵"`
|
||||
Id int64 `json:"id" dc:"id"`
|
||||
}
|
||||
type SaveNetfeeSettingRes struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user