查询推荐品,新增活动系列字段

This commit is contained in:
苏尹岚
2020-01-13 09:03:02 +08:00
parent 65a54b603b
commit 78fcdeaf39
3 changed files with 40 additions and 15 deletions

View File

@@ -210,12 +210,13 @@ type StoreSkuExt struct {
type SkuNameAndPlace struct {
model.SkuName
CityCode int `json:"cityCode"`
CityName string `json:"cityName"`
Sequence int `json:"sequence"`
Count int `json:"count"`
Type int `json:"type"`
Skus []*model.SkuAndName `json:"skus"`
UnitPrice int `json:"unitPrice"`
CityCode int `json:"cityCode"`
CityName string `json:"cityName"`
Sequence int `json:"sequence"`
Count int `json:"count"`
Type int `json:"type"`
Skus []*model.SkuAndName `json:"skus"`
}
type StoreSkuPriceAndWeight struct {

View File

@@ -231,14 +231,21 @@ type Sku struct {
type SkuAndName struct {
Sku
Name string
Unit string
Prefix string
IsSpu int
ExPrefix string
ExPrefixBegin *time.Time
ExPrefixEnd *time.Time
Price int
Name string
Unit string
Prefix string
IsSpu int
ExPrefix string
ExPrefixBegin *time.Time
ExPrefixEnd *time.Time
Price int
StoreSkuStatus int
ActPrice int `json:"actPrice"`
ActID int `orm:"column(act_id)" json:"actID"`
ActType int `orm:"column(act_type)" json:"actType"`
EarningPrice int `json:"earningPrice"`
EarningActID int `orm:"column(earning_act_id)" json:"earningActID"`
}
func (*Sku) TableUnique() [][]string {