1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { $fysp } from './index';
 
export default {
  /**
   * 登录接口
   */
  login({ username, password }) {
    return $fysp
      .post(`/userinfo/login`, {
        acountname: username,
        departmentname: '',
        dguid: '',
        extension1: '',
        extension2: '',
        extension3: '',
        guid: '',
        isenable: true,
        password: password,
        realname: '',
        remark: '',
        telephone: '',
        usertype: '',
        usertypeid: '',
        wechatid: '',
        workno: ''
      })
      .then((res) => res.data);
  }
};