From fc8c96399f027117d2afc425b607ef5013c62006 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 11 一月 2022 12:36:33 +0800
Subject: [PATCH] update 防重复提交标识组合 改为 key + url + header
---
ruoyi-ui/src/api/system/user.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 204c26e..4fd752b 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -1,5 +1,5 @@
import request from '@/utils/request'
-import { praseStrEmpty } from "@/utils/ruoyi";
+import { parseStrEmpty } from "@/utils/ruoyi";
// 鏌ヨ鐢ㄦ埛鍒楄〃
export function listUser(query) {
@@ -13,7 +13,7 @@
// 鏌ヨ鐢ㄦ埛璇︾粏
export function getUser(userId) {
return request({
- url: '/system/user/' + praseStrEmpty(userId),
+ url: '/system/user/' + parseStrEmpty(userId),
method: 'get'
})
}
--
Gitblit v1.9.3