import { Parameters, Result } from './ExportExcelHisDeclare';
import msConfig from '../mslib/MsConfig';


const method = 'POST'
const enctype = 'application/json'
const headers = {
    'pid': 'cn.keytop.ns.rf.79610',
    'sid': 'cn.keytop.ns.rf.79610.exportexcelhis',
    'version': '1.0.0'
}

/**
* 微服务请求
* method:POST
* enctype:application/json
* pid:cn.keytop.ns.rf.79610
* sid:cn.keytop.ns.rf.79610.exportexcelhis
* version:1.0.0
* @param parameters
* @param ext 前端自定义扩展参数
*/
export async function exportExcelHis(parameters: Parameters,ext?: any): Promise<Result> {
    return await msConfig.httpClient!!.request(method, enctype, headers, parameters,ext);
}
