Преглед на файлове

fix(store): 更新健身设施相关接口路径

- 将获取健身设施详情接口路径从 bathFacilityService 修改为 sportsEquipmentFacility
- 将删除健身设施接口路径从 bathFacilityService 修改为 sportsEquipmentFacility
congxuesong преди 1 седмица
родител
ревизия
914a8c7e6e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/api/modules/storeDecoration.ts

+ 2 - 2
src/api/modules/storeDecoration.ts

@@ -210,11 +210,11 @@ export const createOrUpdateFacility = (params: any) => {
 };
 //获取健身设施详情
 export const getFacilityDetail = (params: any) => {
-  return httpApi.get(`/alienStorePlatform/bathFacilityService/getById`, params);
+  return httpApi.get(`/alienStorePlatform/sportsEquipmentFacility/getById`, params);
 };
 //删除设施
 export const deleteFacility = (params: any) => {
-  return httpApi.get(`/alienStorePlatform/bathFacilityService/delete`, params);
+  return httpApi.get(`/alienStorePlatform/sportsEquipmentFacility/delete`, params);
 };
 //下载设施Excel模板
 export const downloadFacilityTemplate = () => {