src/api/login.js
@@ -1,12 +1,14 @@ import request from '@/utils/request' // 登录方法 export function login(username, password, code, uuid) { export function login(username, password, code, uuid,orgid,phoneCode) { const data = { username, password, code, uuid uuid, orgid, phoneCode } return request({ url: '/login', @@ -56,4 +58,11 @@ method: 'get', timeout: 20000 }) } } export function phoneCode(data) { return request({ url: '/phoneLogin', method: 'post', data: data }); }