/** * 影像信息列表查询 */ import ApiModel from '@/utils/core/apiModel'; import { getEnvInfo } from '@/utils/utils'; export default options => { // 接口地址: required const api = 'server/downloadFile'; const { ctsApiPrefix } = getEnvInfo(); return new ApiModel({ baseConf: { // 调用贷前接口 apiPrefix: ctsApiPrefix }, api, request(body) { return this.post(body, { responseType: 'blob', headers: { 'content-type': 'application/x-www-form-urlencoded' } }); } }); };