From ef307d590b7d27791bce1b594ff16267f9b8f0f4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 三月 2024 17:39:52 +0800
Subject: [PATCH] 调整文件夹路径
---
src/api/fysp/problemApi.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/api/fysp/problemApi.js b/src/api/fysp/problemApi.js
index ce2ba9b..b543b7e 100644
--- a/src/api/fysp/problemApi.js
+++ b/src/api/fysp/problemApi.js
@@ -5,11 +5,16 @@
export default {
/**
- * 鑾峰彇瀛愪换鍔$粺璁′俊鎭�
+ * 闂瀹℃牳
* @param {Number} action 0锛氶棶棰橀�氳繃锛�1锛氶棶棰樹笉閫氳繃锛�2锛氭暣鏀归�氳繃锛�3鏁存敼涓嶉�氳繃
*/
checkProblem({ pId, action, remark = '', userId = id, userName = name }) {
const params = `?pId=${pId}&action=${action}&remark=${remark}&userId=${userId}&userName=${userName}`;
- return $fysp.post(`problemlist/check${params}`);
+ return $fysp.post(`problemlist/check${params}`).then((res) => res.data);
},
+
+ fetchProblemType({ cityCode, districtCode, sceneTypeId }) {
+ const params = `?taskTypeId=1&cityCode=${cityCode}&districtCode=${districtCode}&sceneTypeId=${sceneTypeId}`;
+ return $fysp.get(`problemtype/search${params}`).then((res) => res.data);
+ }
};
--
Gitblit v1.9.3