diff --git a/platformapi/jdshopapi/store.go b/platformapi/jdshopapi/store.go index ca3cdb61..4743d07e 100644 --- a/platformapi/jdshopapi/store.go +++ b/platformapi/jdshopapi/store.go @@ -59,7 +59,7 @@ func (a *API) UpdateEntityStore(updateEntityStoreParam *UpdateEntityStoreParam) result, err := a.AccessAPI("jingdong.updateEntityStore", prodURL, utils.Struct2FlatMap(updateEntityStoreParam)) if err == nil { if !result["jingdong_updateEntityStore_responce"].(map[string]interface{})["updateentitystore_result"].(map[string]interface{})["success"].(bool) { - return fmt.Errorf(result["jingdong_createEntityStore_responce"].(map[string]interface{})["createentitystore_result"].(map[string]interface{})["message"].(string)) + return fmt.Errorf(result["jingdong_updateEntityStore_responce"].(map[string]interface{})["updateentitystore_result"].(map[string]interface{})["message"].(string)) } } return err