import Enums from '../util/Enums'
import {
  _request
} from './BaseApi'

/**
 * contentType: Enums.ContentType.FORM_UTF8
 * 
 * @param {*} params
 */
export const route = (params = {}) => _request({url: '/lite/index', params, method: 'post',token: true})

export const route_timeout = (params = {}) => _request({url: '/lite/index', params, method: 'post',token: true,timeout: true})

export const newroute = (params = {}) => _request({url: '/lite/index/index', params, method: 'post',token: true})