- up
This commit is contained in:
@@ -58,12 +58,17 @@ type StoreSkuExt struct {
|
|||||||
WscID string `orm:"column(wsc_id);index" json:"wscID"` // 表示微盟skuId
|
WscID string `orm:"column(wsc_id);index" json:"wscID"` // 表示微盟skuId
|
||||||
WscID2 string `orm:"column(wsc_id2);index" json:"wscID2"` // 表示微盟goodsId
|
WscID2 string `orm:"column(wsc_id2);index" json:"wscID2"` // 表示微盟goodsId
|
||||||
|
|
||||||
JdSyncStatus int8 `orm:"default(2)" json:"jdSyncStatus"`
|
JdSyncStatus int8 `orm:"default(2)" json:"jdSyncStatus"`
|
||||||
|
EbaiSyncStatus int8 `orm:"default(2)" json:"ebaiSyncStatus"`
|
||||||
|
MtwmSyncStatus int8 `orm:"default(2)" json:"mtwmSyncStatus"`
|
||||||
|
WscSyncStatus int8 `orm:"default(2)" json:"wscSyncStatus"`
|
||||||
|
|
||||||
EbaiSyncStatus int8 `orm:"default(2)" json:"ebaiSyncStatus"`
|
// JdPrice int `json:"jdPrice"`
|
||||||
MtwmSyncStatus int8 `orm:"default(2)" json:"mtwmSyncStatus"`
|
// EbaiPrice int `json:"ebaiPrice"`
|
||||||
WscSyncStatus int8 `orm:"default(2)" json:"wscSyncStatus"`
|
// MtwmPrice int `json:"mtwmPrice"`
|
||||||
AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
// WscPrice int `json:"wscPrice"`
|
||||||
|
|
||||||
|
AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
||||||
|
|
||||||
ActPrice int `json:"actPrice"`
|
ActPrice int `json:"actPrice"`
|
||||||
EarningPrice int `json:"earningPrice"`
|
EarningPrice int `json:"earningPrice"`
|
||||||
|
|||||||
@@ -106,6 +106,11 @@ type StoreSkuBind struct {
|
|||||||
MtwmSyncStatus int8 `orm:"default(2)"`
|
MtwmSyncStatus int8 `orm:"default(2)"`
|
||||||
WscSyncStatus int8 `orm:"default(2)"`
|
WscSyncStatus int8 `orm:"default(2)"`
|
||||||
|
|
||||||
|
// JdPrice int `json:"jdPrice"`
|
||||||
|
// EbaiPrice int `json:"ebaiPrice"`
|
||||||
|
// MtwmPrice int `json:"mtwmPrice"`
|
||||||
|
// WscPrice int `json:"wscPrice"`
|
||||||
|
|
||||||
AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -134,6 +134,9 @@ type IPurchasePlatformHandler interface {
|
|||||||
|
|
||||||
GetVendorID() int
|
GetVendorID() int
|
||||||
|
|
||||||
|
// 只与平台相关
|
||||||
|
GetVendorCategories(ctx *jxcontext.Context) (vendorCats []*model.SkuVendorCategory, err error)
|
||||||
|
|
||||||
////////
|
////////
|
||||||
// Store
|
// Store
|
||||||
ReadStore(ctx *jxcontext.Context, vendorStoreID string) (store *dao.StoreDetail, err error)
|
ReadStore(ctx *jxcontext.Context, vendorStoreID string) (store *dao.StoreDetail, err error)
|
||||||
@@ -150,7 +153,6 @@ type IPurchasePlatformHandler interface {
|
|||||||
RefreshAllStoresID(ctx *jxcontext.Context, parentTask tasksch.ITask, isAsync bool) (hint string, err error)
|
RefreshAllStoresID(ctx *jxcontext.Context, parentTask tasksch.ITask, isAsync bool) (hint string, err error)
|
||||||
|
|
||||||
UploadImg(ctx *jxcontext.Context, imgURL string, imgData []byte, imgName string) (imgHint string, err error)
|
UploadImg(ctx *jxcontext.Context, imgURL string, imgData []byte, imgName string) (imgHint string, err error)
|
||||||
GetVendorCategories(ctx *jxcontext.Context) (vendorCats []*model.SkuVendorCategory, err error)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// db *dao.DaoDB,
|
// db *dao.DaoDB,
|
||||||
|
|||||||
Reference in New Issue
Block a user