From dcd238531d8154633b9c1e2188b81e519760a17e Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 16 七月 2024 16:09:45 +0800
Subject: [PATCH] 调整项目结构,统一DTO、VO、PO、BO等对象到plt-web-api模块下,拷贝vci-file-integration、plt-web-api、vci-framework-api、vci-file-api等依赖下的对象到plt-web-api模块下,并取消对这些jar的引用(为了解决同路径同名独享导致打包运行时对象加载出错问题)。

---
 Source/plt-web/plt-web-ui/src/api/user.js |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/api/user.js b/Source/plt-web/plt-web-ui/src/api/user.js
index 9bb5ea7..3e9891a 100644
--- a/Source/plt-web/plt-web-ui/src/api/user.js
+++ b/Source/plt-web/plt-web-ui/src/api/user.js
@@ -1,18 +1,16 @@
 import request from '@/router/axios';
 import website from "@/config/website";
 
-export const loginByUsername = (tenantId, deptId, roleId, userId, password, type, key) => request({
+export const loginByUsername = (deptId, roleId, userId, password, type, key) => request({
   url: '/api/framework/loginController/login',
   method: 'post',
   headers: {
-    'Tenant-Id': tenantId,
     'Dept-Id': (website.switchMode ? deptId : ''),
     'Role-Id': (website.switchMode ? roleId : ''),
     'Captcha-Key': key,
 
   },
   params: {
-    tenantId,
     userId,
     password,
     grant_type: (website.captchaMode ? "captcha" : "password"),
@@ -96,8 +94,8 @@
 });
 
 export const getUserInfo = () => request({
-  url: '/api/blade-auth/oauth/user-info',
-  method: 'get'
+  url: '/api/framework/loginController/getSessionInfo',
+  method: 'post'
 });
 
 export const sendLogs = (list) => request({

--
Gitblit v1.9.3