import request from '@/utils/request';
import { AxiosPromise } from 'axios';
/**
 * 三无一权生成码申请列表
 * @param query
 * @returns {*}
 */
export const swyqCodeLogList = (query?: any): AxiosPromise<any[]> => {
    return request({
        url: '/smarttrace/gbCodeLog/swyqCodeLogList',
        method: 'get',
        params: query
    });
};
/**
 * 三无一权生成码申请审批
 * @param query
 * @returns {*}
 */
export const approvalSwyqCodeLog = (query?: any): AxiosPromise<any[]> => {
    return request({
        url: '/smarttrace/gbCodeLog/approvalSwyqCodeLog',
        method: 'post',
        data: query
    });
};
