Просмотр исходного кода

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

小地图

See merge request skyeye/skyeye_frontend/skyeye-admin!208
Fei Liu 1 год назад
Родитель
Сommit
9370069057
1 измененных файлов с 3 добавлено и 2 удалено
  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 { http } from '@/utils/http/axios';
 import { ViewType } from '@/types/scene/constant.ts';
 import { ViewType } from '@/types/scene/constant.ts';
 import * as SceneTypes from '@/types/scene/type.ts';
 import * as SceneTypes from '@/types/scene/type.ts';
+import { CompanyInfoItem } from '@/types/scene/type';
 
 
 /** 获取公司-工厂-工位数据 */
 /** 获取公司-工厂-工位数据 */
 export const getShopSpaceList = () => {
 export const getShopSpaceList = () => {
-  return http.request<SceneTypes.CompanyInfoItem[]>({
-    url: '/scene/getList',
+  return http.request<CompanyInfoItem[]>({
+    url: '/admin/workshop/queryCompanyShopSpaceList',
     method: 'get',
     method: 'get',
     headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
     headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
   });
   });