From 6b027c18660b828ec7b57ad0e3f4ffca9f4d14d1 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 03 十一月 2023 15:15:24 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into wn

---
 src/api/index.ts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/api/index.ts b/src/api/index.ts
index afab391..84fceb8 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -3,6 +3,7 @@
 import type { PLCResponse } from './plc'
 import type { Devices } from './device'
 import type { CraftModel } from './craftModel'
+import type { Problem } from './problem'
 
 export interface BaseResponse<T = any> {
   code: number
@@ -141,3 +142,13 @@
     data: params
   })
 }
+
+/**
+ * 鑾峰彇闂璇婃柇闂鍒楄〃
+ */
+export function apiGetProblemList() {
+  return request<BaseResponse<Problem[]>>({
+    url: '/v1/system/problemList',
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0