WXL
8 天以前 ffdeb042145a75f6693c05229c988d78bc6319e8
src/api/login.js
@@ -1,13 +1,14 @@
import request from '@/utils/request'
// 登录方法
export function login(username, password, code, uuid,orgid) {
export function login(username, password, code, uuid,orgid,phoneCode) {
  const data = {
    username,
    password,
    code,
    uuid,
    orgid,
    phoneCode
  }
  return request({
    url: '/login',
@@ -58,3 +59,10 @@
    timeout: 20000
  })
}
export function phoneCode(data) {
  return request({
    url: '/phoneLogin',
    method: 'post',
    data: data
  });
}