From 655f354ad9f93c345f7d7211f66916dc27c21870 Mon Sep 17 00:00:00 2001 From: jiangweiguo <1578967617@qq.com> Date: Tue, 2 Apr 2024 13:31:51 +0800 Subject: [PATCH] 1 --- src/api/login.js | 11 +++ src/views/login/index.vue | 149 +++++++++++++++++++++++--------------- vue.config.js | 4 +- 3 files changed, 105 insertions(+), 59 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index d74a60a..786abd7 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -11,6 +11,17 @@ export function loginIn(data) { data }) } +// 企业登录 +export function Wxlogin(data) { + return request({ + url: 'system/auth/social-auth-redirect', + method: 'get', + headers: { + isToken: false + }, + params: data + }) +} // 获取个人权限信息 export function getUserInfo() { diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 51ff4c0..ee8d8cb 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -4,32 +4,51 @@