From 0106f92c9615b7adcc047f2ed4d0690622ad6eaa Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 27 Apr 2021 09:43:23 +0800 Subject: [PATCH] aa --- platformapi/jdshopapi/store_page.go | 2 ++ platformapi/jdshopapi/store_test.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index 0a5be768..eac0902e 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -674,6 +674,7 @@ type UpdateBasicParam struct { AddCode2 int `json:"addCode2"` AddCode3 int `json:"addCode3"` CategoryID1 int `json:"categoryId1"` + ExStoreID int `json:"exStoreID"` QualificationRequests []*QualificationRequests `json:"qualificationRequests"` } @@ -735,6 +736,7 @@ func (a *API) UpdateBasic(updateBasicParam *UpdateBasicParam) (err error) { "addCode2": updateBasicParam.AddCode2, "addCode3": updateBasicParam.AddCode3, "categoryId1": updateBasicParam.CategoryID1, + "exStoreId": updateBasicParam.ExStoreID, "version": "1.0.0", "source": "pc", "requestId": reqID, diff --git a/platformapi/jdshopapi/store_test.go b/platformapi/jdshopapi/store_test.go index a96c834a..239de58a 100644 --- a/platformapi/jdshopapi/store_test.go +++ b/platformapi/jdshopapi/store_test.go @@ -30,7 +30,7 @@ func TestCreateEntityStore(t *testing.T) { } func TestDeleteStoresByID(t *testing.T) { - err := api.DeleteStoresByID(24563933) + err := api.DeleteStoresByID(1000125321) if err != nil { t.Fatal(err) }