Explorar o código

Merge branch 'all-v4-lhf' into 'all-v4'

小地图

See merge request skyeye/skyeye_frontend/skyeye-admin!208
Fei Liu hai 1 ano
pai
achega
9370069057
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/api/scene/scene.ts

+ 3 - 2
src/api/scene/scene.ts

@@ -1,11 +1,12 @@
 import { http } from '@/utils/http/axios';
 import { ViewType } from '@/types/scene/constant.ts';
 import * as SceneTypes from '@/types/scene/type.ts';
+import { CompanyInfoItem } from '@/types/scene/type';
 
 /** 获取公司-工厂-工位数据 */
 export const getShopSpaceList = () => {
-  return http.request<SceneTypes.CompanyInfoItem[]>({
-    url: '/scene/getList',
+  return http.request<CompanyInfoItem[]>({
+    url: '/admin/workshop/queryCompanyShopSpaceList',
     method: 'get',
     headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
   });