1
This commit is contained in:
@@ -6562,6 +6562,7 @@ func CopyMtToJd(ctx *jxcontext.Context, mtStoreID, mtOrgCode, jdStoreID, jdOrgCo
|
||||
//db = dao.GetDB()
|
||||
catMap = make(map[string]string)
|
||||
LoopCatChild funcType
|
||||
handler, _ = partner.GetPurchasePlatformFromVendorID(model.VendorIDJD).(partner.IPurchasePlatformStoreSkuHandler)
|
||||
)
|
||||
|
||||
jd := jd.GetAPI(jdOrgCode)
|
||||
@@ -6639,7 +6640,6 @@ func CopyMtToJd(ctx *jxcontext.Context, mtStoreID, mtOrgCode, jdStoreID, jdOrgCo
|
||||
if param.OutSkuID == "" {
|
||||
param.OutSkuID = fmt.Sprintf("%d_%d", time.Now().Unix(), param.SkuPrice)
|
||||
}
|
||||
handler, _ := partner.GetPurchasePlatformFromVendorID(model.VendorIDDD).(partner.IPurchasePlatformStoreSkuHandler)
|
||||
vendorCategoryId, _ := handler.GetSkuCategoryIdByName(jdOrgCode, mtSku.Name)
|
||||
if vendorCategoryId != "" {
|
||||
param.CategoryID = utils.Str2Int64(vendorCategoryId) // 其他水果
|
||||
|
||||
Reference in New Issue
Block a user