Explorar el Código

fix(store): 更新设施Excel模板下载接口路径

- 将下载设施Excel模板的接口路径从 bathFacilityService 更改为 sportsEquipmentFacility
- 保持原有的响应类型为 blob 不变
- 确保前端请求能够正确指向新的后端接口地址
congxuesong hace 2 semanas
padre
commit
86d0f9ac94
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/modules/storeDecoration.ts

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

@@ -218,7 +218,7 @@ export const deleteFacility = (params: any) => {
 };
 //下载设施Excel模板
 export const downloadFacilityTemplate = () => {
-  return httpApi.get(`/alienStorePlatform/bathFacilityService/downloadTemplate`, {}, { responseType: "blob" });
+  return httpApi.get(`/alienStorePlatform/sportsEquipmentFacility/downloadTemplate`, {}, { responseType: "blob" });
 };
 //导入设施Excel
 export const importFacilityExcel = (formData: FormData, storeId: string | number) => {