This commit is contained in:
richboo111
2022-10-08 17:41:09 +08:00
parent f80e7a6874
commit ce819ee28e

View File

@@ -49,7 +49,7 @@ func (a *API) GetStoreDetail(param *shop_getStoreDetail_request.ShopGetStoreDeta
if response.Code != RequestSuccessCode {
return nil, errors.New(response.SubMsg)
}
return response.Data, err
return response.Data, nil
}
//BatchCreateStore 批量创建门店
@@ -65,7 +65,8 @@ func (a *API) BatchCreateStore(param *shop_batchCreateStore_request.ShopBatchCre
if response.Code != RequestSuccessCode {
return nil, errors.New(response.SubMsg)
}
return response.Data, err
globals.SugarLogger.Debug("BatchCreateStore:response.Data============%v", response.Data)
return response.Data, nil
}
// EditStore 编辑门店