This commit is contained in:
gazebo
2018-09-22 23:28:52 +08:00
parent f21b4e614d
commit b936d3354b
10 changed files with 100 additions and 11 deletions

View File

@@ -28,6 +28,18 @@ type tEbaiStoreInfo struct {
SyncStatus int
}
func (p *PurchaseHandler) GetFieldIDName() string {
return model.FieldEbaiID
}
func (p *PurchaseHandler) GetFieldSyncStatusName() string {
return model.FieldEbaiSyncStatus
}
func (p *PurchaseHandler) CreateStore(storeID int) (vendorStoreID string, err error) {
return "", err
}
func (p *PurchaseHandler) ReadStore(vendorStoreID string) (*model.Store, error) {
baiduShopID := utils.Str2Int64(vendorStoreID)
result, err := api.EbaiAPI.ShopGet("", baiduShopID)