/* * @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); }, //签署合同 signContInfo(data) { return $http.post('/inside/signContInfo', data); }, //合同预览 getContInfo(data) { return $http.post('/inside/getContInfo', data); }, // ======================================== } export default { install(Vue, opt) { Vue.prototype.$api = api; } }