From 2f93b5a6157c3752230485e5aa56f79fdabd5fb4 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期三, 24 十二月 2025 17:43:47 +0800
Subject: [PATCH] 天津双奇点-开发仓储物流板块
---
src/api/login.js | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/src/api/login.js b/src/api/login.js
new file mode 100644
index 0000000..acf6978
--- /dev/null
+++ b/src/api/login.js
@@ -0,0 +1,43 @@
+import request from '@/utils/request'
+
+// 鐧诲綍鏂规硶
+export function loginCheckFactory(username, password, factoryId) {
+ const data = {
+ username,
+ password,
+ factoryId
+ }
+ return request({
+ url: '/loginCheckFactory',
+ headers: {
+ isToken: false
+ },
+ method: 'post',
+ data: data
+ })
+}
+
+// 鑾峰彇鐢ㄦ埛璇︾粏淇℃伅
+export function getInfo() {
+ return request({
+ url: '/getInfo',
+ method: 'get'
+ })
+}
+
+// 閫�鍑烘柟娉�
+export function logout() {
+ return request({
+ url: '/logout',
+ method: 'post'
+ })
+}
+
+// 鑾峰彇鍏徃鍒楄〃
+export function userLoginFacotryList(params) {
+ return request({
+ url: '/userLoginFacotryList',
+ method: 'get',
+ params: params
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3