From 89b19f453e03402aa2c8a588e5be1f491c007141 Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期二, 11 三月 2025 13:49:03 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.97.1.152:5880/r/wms-master into front
---
rsf-admin/src/api/auth/index.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/rsf-admin/src/api/auth/index.js b/rsf-admin/src/api/auth/index.js
index 9642a8b..f5c19dc 100644
--- a/rsf-admin/src/api/auth/index.js
+++ b/rsf-admin/src/api/auth/index.js
@@ -44,10 +44,7 @@
export async function updateUserInfo(_params) {
const res = await request.post('/auth/user', _params);
- if (res.data.code === 200) {
- return res.data;
- }
- return Promise.reject(new Error(res.data.msg));
+ return res.data;
}
export async function requestResetPassword(_params) {
--
Gitblit v1.9.1