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 @@