峰峰执法平台简易案件程序板块 pad端
yang
2022-10-17 4107256a8d1fa9a2db0969122bfc760994b12421
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * 此处可直接引用自己项目封装好的 axios 配合后端联调
 */
 
 
import request from '@/router/axios'
 
//获取验证图片  以及token
export function reqGet(data) {
  return request({
    url: '/code',
    method: 'get',
    data
  })
}
 
//滑动或者点选验证
export function reqCheck(data) {
  return request({
    url: '/code/check',
    method: 'post',
    params: data
  })
}