From a35ff1ca423e2fea33dc11f37b54d076acaab3c5 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 12 十二月 2023 13:39:28 +0800
Subject: [PATCH] 2023.12.12

---
 src/api/fysp/problemApi.js |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/api/fysp/problemApi.js b/src/api/fysp/problemApi.js
index 747067c..5bb2b72 100644
--- a/src/api/fysp/problemApi.js
+++ b/src/api/fysp/problemApi.js
@@ -9,14 +9,7 @@
    * @param {Number} action 0锛氶棶棰橀�氳繃锛�1锛氶棶棰樹笉閫氳繃锛�2锛氭暣鏀归�氳繃锛�3鏁存敼涓嶉�氳繃
    */
   checkProblem({ pId, action, remark = '', userId = id, userName = name }) {
-    return $fysp
-      .post('problemlist/check', {
-        pId: pId,
-        action: action,
-        remark: remark,
-        userId: userId,
-        userName: userName,
-      })
-      .then((res) => res.data);
+    const params = `?pId=${pId}&action=${action}&remark=${remark}&userId=${userId}&userName=${userName}`;
+    return $fysp.post(`problemlist/check${params}`).then((res) => res.data);
   },
 };

--
Gitblit v1.9.3