Commit c1af87aa authored by shangying's avatar shangying

增加h5页面授信申请进件流程

parent 98f2dbdf
package cn.quantgroup.cashloanflowboss.api.oneclickdata.service;
import cn.quantgroup.cashloanflowboss.api.oneclickdata.model.OneClickModel;
/**
* Created by shang on 2020/4/7.
*/
public interface H5ApplyLoanService {
/**
* H5页面接口获取授信进件申请流程
* */
void H5ApplyLoan(OneClickModel oneClickModel);
}
...@@ -21,6 +21,7 @@ public interface PhoneInfoService { ...@@ -21,6 +21,7 @@ public interface PhoneInfoService {
/** /**
* H5专用授信进件方法
* 同步session到xyqb * 同步session到xyqb
* 返回空 * 返回空
*/ */
...@@ -33,51 +34,61 @@ public interface PhoneInfoService { ...@@ -33,51 +34,61 @@ public interface PhoneInfoService {
XUser selectUserID(String phone); XUser selectUserID(String phone);
/** /**
* H5专用授信进件方法
* 实名认证 * 实名认证
*/ */
JSONObject authIdNo(String phone,String createdFrom)throws Exception; JSONObject authIdNo(String phone,String createdFrom)throws Exception;
/** /**
* H5专用授信进件方法
* 授信session同步 * 授信session同步
*/ */
JSONObject creditSession(String productId,String phone,String createdFrom)throws Exception ; JSONObject creditSession(String productId,String phone,String createdFrom)throws Exception ;
/** /**
* H5专用授信进件方法
* 基础信息 * 基础信息
*/ */
JSONObject authBasic2(String token)throws Exception ; JSONObject authBasic2(String token)throws Exception ;
/** /**
* H5专用授信进件方法
* 进入上传身份证页 * 进入上传身份证页
*/ */
String authOcrUrl()throws Exception ; String authOcrUrl()throws Exception ;
/** /**
* H5专用授信进件方法
* 上传正面 * 上传正面
*/ */
JSONObject ocrAtuhUp(String ocrToken)throws Exception ; JSONObject ocrAtuhUp(String ocrToken)throws Exception ;
/** /**
* H5专用授信进件方法
* 上传负面 * 上传负面
*/ */
JSONObject ocrAtuhDown(String ocrToken)throws Exception ; JSONObject ocrAtuhDown(String ocrToken)throws Exception ;
/** /**
* H5专用授信进件方法
* 提交拍照认证 * 提交拍照认证
*/ */
JSONObject ocrSubmit(String ocrToken)throws Exception ; JSONObject ocrSubmit(String ocrToken)throws Exception ;
/** /**
* H5专用授信进件方法
* 查询授信中心ID * 查询授信中心ID
*/ */
void getSpiderCenter(); void getSpiderCenter();
/** /**
* H5专用授信进件方法
* 授信 * 授信
*/ */
void spiderC() ; void spiderC() ;
/** /**
* H5专用授信进件方法
* 提交审核 * 提交审核
*/ */
JSONObject submitAuth(String token)throws Exception ; JSONObject submitAuth(String token)throws Exception ;
...@@ -98,11 +109,13 @@ public interface PhoneInfoService { ...@@ -98,11 +109,13 @@ public interface PhoneInfoService {
QuotaCredit selectUserAuditRecords(String applyNo); QuotaCredit selectUserAuditRecords(String applyNo);
/** /**
* H5专用授信进件方法
* 授信完成通知xyqb * 授信完成通知xyqb
*/ */
JSONObject spiderFinishNotic(String quotaRecordOrderNo,String channel); JSONObject spiderFinishNotic(String quotaRecordOrderNo,String channel);
/** /**
* H5专用授信进件方法
* 爬虫授权完成通知 xyqb * 爬虫授权完成通知 xyqb
*/ */
JSONObject spiderReportFinishNotic(String quotaRecordOrderNo); JSONObject spiderReportFinishNotic(String quotaRecordOrderNo);
......
package cn.quantgroup.cashloanflowboss.api.oneclickdata.service.impl;
import cn.quantgroup.cashloanflowboss.api.oneclickdata.model.OneClickModel;
import cn.quantgroup.cashloanflowboss.api.oneclickdata.service.H5ApplyLoanService;
import cn.quantgroup.cashloanflowboss.api.oneclickdata.service.PhoneInfoService;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Created by shang on 2020/4/7.
*/
public class H5ApplyLoanServiceImpl implements H5ApplyLoanService {
@Autowired
private PhoneInfoService phoneInfoService;
@Override
public void H5ApplyLoan(OneClickModel oneClickModel) {
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment