From 703c851a45c3e99215564fa1c6d2f4e6a0a4f10a Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Mon, 10 Jan 2022 21:51:09 +0800
Subject: [PATCH] 完成个人单笔合同签署流程
---
src/api/index.js | 40 ++++++++++++++++++++++++----------------
1 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/src/api/index.js b/src/api/index.js
index 878bb5f..5d0f94d 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -11,27 +11,27 @@
const api = {
- //绑卡初始化
- bankCardInit(data) {
- return $http.post('/bankCard/init', data);
+ //刷新人脸识别失败后订单状态
+ getBizStatus(data) {
+ return $http.post('/inside/getBizStatus', data);
},
- //银行卡ocr
- bankCardOcr(data) {
- return $http.post('/bankCard/ocr', data);
+ //授信前置页面调取接口
+ getFrontData(data) {
+ return $http.post('/inside/getFrontData', data);
},
- //绑卡验证码
- bankCardAuthMsg(data) {
- return $http.post('/bankCard/authMsg', data);
+ //获取人脸识别跳转地址
+ getFaceUrl(data) {
+ return $http.post('/inside/getFaceUrl', data);
},
- //绑卡签约
- bankCardAgree(data) {
- return $http.post('/bankCard/agreePayAuth', data);
+ //获取人脸识别状态
+ getApplyStatus(data) {
+ return $http.post('/inside/getApplyStatus', data);
},
- //绑卡人脸识别
- faceIdUrl(data) {
- return $http.post('/faceId/url', data);
+ //刷新人脸识别失败后订单状态
+ refreshFaceStatus(data) {
+ return $http.post('/inside/refreshFaceStatus', data);
},
//人脸识别结果
faceIdResult(data) {
@@ -44,7 +44,7 @@
},
//发送授权验证码
sendVerifyCode(data) {
- return $http.post('/signContract/sendVerifyCode', data);
+ return $http.post('/inside/getMessageCode', data);
},
//校验授权码
checkVerifyCode(data) {
@@ -54,6 +54,14 @@
signContract(data) {
return $http.post('/signContract/signContract3', data);
},
+ //签署合同
+ signContInfo(data) {
+ return $http.post('/inside/signContInfo', data);
+ },
+ //合同预览
+ getContInfo(data) {
+ return $http.post('/inside/getContInfo', data);
+ },
// ========================================
}
--
Gitblit v1.8.0