Explorar el Código

[Wip 0000] 对接可配置首页的其他模块

houzekong hace 8 meses
padre
commit
4220c969ad
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/vent/home/configurable/configurable.api.ts

+ 2 - 2
src/views/vent/home/configurable/configurable.api.ts

@@ -2,6 +2,7 @@ import { defHttp } from '/@/utils/http/axios';
 
 enum Api {
   list = '/ventanaly-device/safety/ventanalyDevice/homedata2',
+  getHomeData = '/ventanaly-device/safety/ventanalyDevice/homedata',
 }
 /**
  * 列表接口
@@ -9,5 +10,4 @@ enum Api {
  */
 export const list = (params) => defHttp.post({ url: Api.list, params });
 
-
-
+export const getHomeData = (params) => defHttp.post({ url: Api.getHomeData, params });