导入Excel更新京西价,推荐商品
This commit is contained in:
@@ -484,6 +484,27 @@ func (*StorePriceScoreSnapshot) TableIndex() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
type StoreSkuNamePrice struct {
|
||||
ModelIDCULD
|
||||
OutSkuID string `orm:"column(out_sku_id)" json:"outSkuID"`
|
||||
Name string `json:"name"`
|
||||
Price int `json:"price"`
|
||||
Unit string `json:"unit"`
|
||||
NameIDGroup string `orm:"column(name_id_group)" json:"nameIDGroup"`
|
||||
}
|
||||
|
||||
func (*StoreSkuNamePrice) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name", "NameIDGroup"},
|
||||
}
|
||||
}
|
||||
|
||||
func (*StoreSkuNamePrice) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name"},
|
||||
}
|
||||
}
|
||||
|
||||
type VendorStoreSnapshot struct {
|
||||
ModelIDCULD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user