/**
 * 所有跟用户相关的接口（TODO:DEMO USER）
 */

 import { HttpResponse } from '@/@types'
 import Axios from './axios' 
 /**
  * @interface loginParams -登录参数
  * @property {string} grant_type -授权类型
  * @property {string} email -邮箱
  * @property {string} password -用户密码
  */
 interface msg {
   Enable: number
 }
 
 
 
 /**
  * @example Axios.get(`https://xxx.com}`)
  * @todo Get the exchange rate of the current currency
  */
 
 class customerService {
   // 获取客户字段列表
   static async getCustomerFiledList(data: msg): Promise<HttpResponse> {
     return Axios('/QYCustomer/GetCustomerFiledList', {
       method: 'post',
       responseType: 'json',
       data
     })
   }
 
 }
 
 export default customerService
 