Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2023-01-31 17:29:24 +08:00
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ func getMultiStoreVendorInfoList() (list []*MultiStoreVendorInfo) {
})
}
}
globals.SugarLogger.Debugf("======vendorIDs======= %s", utils.Format4Output(vendorIDs, false))
globals.SugarLogger.Debugf("======list======= %s", utils.Format4Output(list, false))
return list
}

View File

@@ -108,6 +108,10 @@ func (p *PurchaseHandler) DeleteCategory2(ctx *jxcontext.Context, vendorOrgCode,
func (p *PurchaseHandler) ReorderCategories2(ctx *jxcontext.Context, vendorOrgCode, vendorParentCatID string, vendorCatIDList []string) (err error) {
if globals.EnableJdStoreWrite {
err = getAPI(vendorOrgCode).ChangeShopCategoryOrder(utils.Str2Int64WithDefault(vendorParentCatID, 0), utils.StringSlice2Int64(vendorCatIDList))
globals.SugarLogger.Debugf("vendorInfo.vendorOrgCode=== %s", vendorOrgCode)
globals.SugarLogger.Debugf("vendorInfo.vendorParentCatID=== %s", vendorParentCatID)
globals.SugarLogger.Debugf("vendorInfo.vendorCatIDList=== %s", vendorCatIDList)
globals.SugarLogger.Debugf("ReorderCategories2 === %v", err)
}
return err
}