This commit is contained in:
suyl
2021-04-27 09:43:23 +08:00
parent 0f166d6684
commit 0106f92c96
2 changed files with 3 additions and 1 deletions

View File

@@ -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,

View File

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