Selaa lähdekoodia

门店管理完成一半

Huanyi 1 kuukausi sitten
vanhempi
sitoutus
07984eb85f
2 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 9 0
      src/api/system/platform/index.ts
  2. 5 0
      src/api/system/platform/types.ts

+ 9 - 0
src/api/system/platform/index.ts

@@ -0,0 +1,9 @@
+import request from '@/utils/request';
+
+// 查询平台列表
+export function listPlatform() {
+  return request({
+    url: '/system/platform/list',
+    method: 'get'
+  });
+}

+ 5 - 0
src/api/system/platform/types.ts

@@ -0,0 +1,5 @@
+// 平台类型
+export interface PlatformVO {
+  id: number;
+  label: string;
+}