import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TemplatePrintLogVO, TemplatePrintLogQuery } from '@/api/print/log/tempLogtypes';

/**
 * 查询模版打印记录列表
 * @param query
 * @returns {*}
 */

export const listTemplatePrintLog = (query?: TemplatePrintLogQuery): AxiosPromise<TemplatePrintLogVO[]> => {
  return request({
    url: '/print/templatePrintLog/list',
    method: 'get',
    params: query
  });
};
