Explorar o código

门店管理完成一半

Huanyi hai 1 mes
pai
achega
07984eb85f
Modificáronse 2 ficheiros con 14 adicións e 0 borrados
  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;
+}