This commit is contained in:
suyl
2021-08-30 16:06:01 +08:00
parent 83b157d1fb
commit e895a25b98
12 changed files with 203 additions and 16 deletions

View File

@@ -741,7 +741,13 @@ func (a *API) SubmitBasic(updateBasicParam *UpdateBasicParam) (vendorStoreID int
"requestId": reqID,
}, true)
if err == nil {
vendorStoreID = utils.MustInterface2Int64(result["data"])
if result != nil {
if result["data"] != nil{
vendorStoreID = utils.MustInterface2Int64(result["data"])
}else{
err = fmt.Errorf("err %s", result["msg"])
}
}
}
return vendorStoreID, err
}