From 8984ecba865b4ccbf542e4e612134306b8e05f75 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Tue, 09 Jul 2024 12:12:01 +0800
Subject: [PATCH] 记录用户登录IP地址和登录时间

---
 ruoyi-ui/src/api/system/user.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index f2f76ef..9b0211a 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -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