1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| /*
| * @Descripttion:该文件用于组织服务器请求,添加请求函数时注意 函数重名!
| * @Author: TM丶
| * @LastEditors: 小明丶
| * @Date: 2019-03-30 08:27:46
| * @LastEditTime: 2021-01-04 09:34:57
| */
|
| import $http from './config';
| // import oldapi from './oldapi';
|
|
| const api = {
| //刷新人脸识别失败后订单状态
| getBizStatus(data) {
| return $http.post('/inside/getBizStatus', data);
| },
| //授信前置页面调取接口
| getFrontData(data) {
| return $http.post('/inside/getFrontData', data);
| },
| //获取人脸识别跳转地址
| getFaceUrl(data) {
| return $http.post('/inside/getFaceUrl', data);
| },
|
| //获取人脸识别状态
| getApplyStatus(data) {
| return $http.post('/inside/getApplyStatus', data);
| },
|
| //刷新人脸识别失败后订单状态
| refreshFaceStatus(data) {
| return $http.post('/inside/refreshFaceStatus', data);
| },
| //人脸识别结果
| faceIdResult(data) {
| return $http.post('/faceId/result', data);
| },
|
| //签约信息
| signContractInfo(data) {
| return $http.post('/signContract/contractInf', data);
| },
| //发送授权验证码
| sendVerifyCode(data) {
| return $http.post('/inside/getMessageCode', data);
| },
| //校验授权码
| checkVerifyCode(data) {
| return $http.post('/signContract/checkVerifyCode', data);
| },
| //签署3号合同
| signContract(data) {
| return $http.post('/signContract/signContract3', data);
| },
| // ========================================
|
| }
|
| export default {
| install(Vue, opt) {
| Vue.prototype.$api = api;
| }
| }
|
|