import axios from "axios"; import { getToken } from '@/utils/helper' const baseUrl = '/sccg/intelligentPatrol/statistics' const token = { 'Authorization': getToken() } export default { // 按违规类型统计 searchByType: (data) => axios({ method: 'get', url: baseUrl + '/unlawful/type', headers: { ...token }, params: data }), };