获取流程签署地址列表
parent
b40d47d378
commit
66aa74a244
|
|
@ -88,4 +88,18 @@ public class LoanService {
|
|||
HttpResponse<RepayResponse> httpResponse = apiClient.post(url, headers, repayRequest.toJsonRequest(), RepayResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取流程签署地址列表
|
||||
*
|
||||
* @param signFlowsUrlsRequest SignFlowsUrlsRequest
|
||||
* @return SignFlowsUrlsResponse
|
||||
*/
|
||||
public SignFlowsUrlsResponse signFlowsUrls(SignFlowsUrlsRequest signFlowsUrlsRequest) {
|
||||
String url = "/loanapi/signFlowsUrls";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<SignFlowsUrlsResponse> httpResponse = apiClient.post(url, headers, signFlowsUrlsRequest.toJsonRequest(), SignFlowsUrlsResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,60 @@
|
|||
package com.czcb.scfs.api.service.v1.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.service.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 获取流程签署地址列表
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("102014")
|
||||
public class SignFlowsUrlsRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
@SerializedName("product_id")
|
||||
private String productId;
|
||||
|
||||
/**
|
||||
* 任务流水号
|
||||
*/
|
||||
@SerializedName("online_serial_no")
|
||||
private String onlineSerialNo;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
package com.czcb.scfs.api.service.v1.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
public class SignFlowsUrlsResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_Info")
|
||||
private String recodeInfo;
|
||||
|
||||
@SerializedName("recode_list")
|
||||
private List<RecodeList> recodeList;
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
|
||||
@Data
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 客户名称
|
||||
*/
|
||||
@SerializedName("cust_name")
|
||||
private String custName;
|
||||
|
||||
/**
|
||||
* 证件号码
|
||||
*/
|
||||
@SerializedName("id_no")
|
||||
private String idNo;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@SerializedName("mobile")
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 签署系统页面地址
|
||||
*/
|
||||
@SerializedName("sign_url")
|
||||
private String signUrl;
|
||||
|
||||
/**
|
||||
* 签署链接二维码
|
||||
*/
|
||||
@SerializedName("sign_url_QRCode")
|
||||
private String signUrlQrCode;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue