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

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

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

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