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) }