import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { SubOrderLogVO, SubOrderLogQuery } from './types';

export const listSubOrderLog = (query: SubOrderLogQuery): AxiosPromise<SubOrderLogVO[]> => {
    return request({
        url: '/order/subOrderLog/list',
        method: 'get',
        params: query
    });
};
