- RefreshStoresSkuByVendor

This commit is contained in:
gazebo
2019-05-17 17:09:33 +08:00
parent 40d02beee0
commit 0ed0d40a2d
13 changed files with 362 additions and 12 deletions

View File

@@ -89,6 +89,7 @@ var (
SpecialUnit = "份"
SpecialSpecQuality = 500
SpecialSpecUnit = "g"
SpecialSpecUnit2 = "ml"
)
var (
@@ -215,6 +216,12 @@ type Sku struct {
LinkID int `orm:"column(link_id);null;index" json:"linkID"`
}
type SkuAndName struct {
Sku
Name string
Unit string
}
// func (*Sku) TableUnique() [][]string {
// return [][]string{
// []string{"JdID", "DeletedAt"},