From 4e75f3cf3fa703fe4e5819a5f14fb14dbc5fbb9c 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 10:27:02 +0800 Subject: [PATCH] 1 --- platformapi/tao_vegetable/store_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/platformapi/tao_vegetable/store_test.go b/platformapi/tao_vegetable/store_test.go index 37ab4a85..0f703429 100644 --- a/platformapi/tao_vegetable/store_test.go +++ b/platformapi/tao_vegetable/store_test.go @@ -53,12 +53,11 @@ func TestGetStoreAllCategory(t *testing.T) { func TestAddCategory(t *testing.T) { data, err := apiTao.AddStoreCategoryInfo(&request.AlibabaWdkSkuCategoryAddRequest{Param: &domain.AlibabaWdkSkuCategoryAddCategoryDo{ - Code: utils.String2Pointer("222201"), - Name: utils.String2Pointer("叶菜类"), - ParentCode: utils.String2Pointer("2222"), - Leaf: utils.Bool2Point(false), - Desc: utils.String2Pointer("叶菜"), - SortOrder: utils.Int64ToPointer(3), + Code: utils.String2Pointer("127382"), + Name: utils.String2Pointer("赠品专区"), + Leaf: utils.Bool2Point(false), + Desc: utils.String2Pointer("叶菜"), + SortOrder: utils.Int64ToPointer(3), }}) globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false)) globals.SugarLogger.Debugf("err := %s", utils.Format4Output(err, false))