1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| 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
| }),
| };
|
|