import { TPackLogQueryParam } from '@/types'
import request from '@/until/request'

/**
 * 获取数据列表
 * @param page TAireadQueryParam
 */
const QueryTPackLogListByQueryParam = (data: TPackLogQueryParam) =>
    request({
        url: '/TPackLogAction/findAllTPackLogByQueryModel',
        method: 'post',
        data: data
    })

/**
* 根据ID查询报文(带报文内容)
* @param  id number
*/
const QueryTPackLogById = (id: number) =>
request({
    url: '/TPackLogAction/findTPackLogById/' + id,
    method: 'get',
})

export default {
    QueryTPackLogListByQueryParam,
    QueryTPackLogById
}