From 3fc27febccd04e2fcffbd2cdd16d2daafd0b3ca3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 11 Oct 2025 17:23:27 +0800
Subject: [PATCH] feat:首页地图相关调整
---
src/api/user/index.js | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/api/user/index.js b/src/api/user/index.js
index 43c60a9..82da79f 100644
--- a/src/api/user/index.js
+++ b/src/api/user/index.js
@@ -6,11 +6,6 @@
import website from '@/config/website'
-/** 获取用户信息 */
-export const profile = params => get("/user/profile", {
- params
-})
-
/** 登录 */
export const login = data =>
post("/user/login", {
@@ -29,8 +24,8 @@
export const logout = () => post("/user/logout")
// 用户登录接口
-export const loginByUsername = (tenantId, deptId, roleId, username, password, type, key, code) =>
- request({
+export const loginByUsername = (tenantId, deptId, roleId, username, password, type, key, code) => {
+ return request({
url: '/blade-auth/oauth/token',
method: 'post',
header: {
@@ -49,3 +44,4 @@
type,
},
})
+}
--
Gitblit v1.9.3