From 1da868086fd76b71b24e32bfed4655d6d2b4eb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 30 Jun 2023 16:31:50 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tao_vegetable/store_sku2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/tao_vegetable/store_sku2.go b/business/partner/purchase/tao_vegetable/store_sku2.go index d701a7745..0abf08058 100644 --- a/business/partner/purchase/tao_vegetable/store_sku2.go +++ b/business/partner/purchase/tao_vegetable/store_sku2.go @@ -124,7 +124,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in Leaf: utils.Bool2Point(false), }} if storeCat.ParentID != model.NO { - createCategory.Param.ParentCode = utils.String2Pointer(utils.Int2Str(storeCat.ParentID)) + createCategory.Param.ParentCode = utils.String2Pointer(utils.Int64ToStr(storeCat.TaoCategoryID)) } skuCode, err := api.AddStoreCategoryInfo(createCategory) @@ -143,7 +143,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in Leaf: utils.Bool2Point(false), }} if storeCat.ParentID != model.NO { - createCategoryParam.Param.ParentCode = utils.String2Pointer(utils.Int2Str(storeCat.ParentID)) + createCategoryParam.Param.ParentCode = utils.String2Pointer(utils.Int64ToStr(storeCat.TaoCategoryID)) } skuCode, err := api.AddStoreCategoryInfo(createCategoryParam)