- 将老平台同步逻辑注释掉

This commit is contained in:
gazebo
2019-08-13 18:09:12 +08:00
parent ad0c8eb3c0
commit 1829156fba
8 changed files with 1479 additions and 1544 deletions

View File

@@ -16,6 +16,13 @@ import (
"git.rosy.net.cn/jx-callback/globals/api"
)
const (
DefFreightTemplateId = 6537248
DefDeliveryTypeId = 177445
DefVendorCategoryId = 35
DefCatImg = "https://image-c.weimobwmc.com/openruntime/249b77ced5da4736a56641ebcf4875ec.png"
)
// 门店分类
func (p *PurchaseHandler) GetStoreAllCategories(ctx *jxcontext.Context, vendorStoreID string) (cats []*partner.BareCategoryInfo, err error) {
remoteCats, err := api.WeimobAPI.QueryClassifyInfoList()
@@ -190,3 +197,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, storeID i
func (p *PurchaseHandler) GetStoreSkusInfo(ctx *jxcontext.Context, parentTask tasksch.ITask, storeID int, vendorStoreID string, inStoreSkuList []*partner.StoreSkuInfo) (outStoreSkuList []*partner.StoreSkuInfo, err error) {
return outStoreSkuList, err
}
func composeFakeDelName(name string) string {
return "del_" + name
}