From cb566a704bb79bdc6fd8bf2e764d360eaffa7a3b Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 15 May 2025 10:23:50 +0800
Subject: [PATCH] 升级commons.io到最新版本2.19.0
---
ruoyi-ui/src/api/system/user.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index f2f76ef..b5e3edd 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -96,7 +96,7 @@
return request({
url: '/system/user/profile/updatePwd',
method: 'put',
- params: data
+ data: data
})
}
@@ -105,6 +105,7 @@
return request({
url: '/system/user/profile/avatar',
method: 'post',
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
data: data
})
}
--
Gitblit v1.9.3