Merge remote-tracking branch 'origin/dev' into dev
commit
ddfe67af57
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 绑定账号新增-企业
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class AddPrimAccCompanyResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 绑定账号新增
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class AddPrimAccPersonResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ClosedAccResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 绑定账号删除
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class DelPrimAccResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class InqPrimAccResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -86,6 +88,7 @@ public class InqPrimAccResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class DetailList implements Serializable {
|
||||
/**
|
||||
* 手机号
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ModAccCompanyResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ModAccPersonResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @date 2024/3/19
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OpenAccAllCompanyResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @date 2024/3/19
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OpenAccAllPersonResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OpenAccCompanyResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OpenAccPersonResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -12,6 +13,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class QueryBalanceBatchResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -41,6 +43,7 @@ public class QueryBalanceBatchResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class DetailList implements Serializable {
|
||||
/**
|
||||
* 账号
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -65,6 +66,7 @@ public class QueryBalanceResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class DetailList implements Serializable {
|
||||
/**
|
||||
* 账号
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class QueryCardInfoResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.account.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 绑定账号设定
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class SetPrimAccResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -0,0 +1,59 @@
|
|||
package com.czcb.scfs.api.service.v1.bills;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiClient;
|
||||
import com.czcb.scfs.api.core.http.HttpHeaders;
|
||||
import com.czcb.scfs.api.core.http.HttpResponse;
|
||||
import com.czcb.scfs.api.service.v1.bills.model.*;
|
||||
|
||||
import static com.czcb.scfs.api.core.Constants.API_VERSION;
|
||||
import static com.czcb.scfs.api.core.Constants.V_1;
|
||||
|
||||
public class BillService {
|
||||
private final ApiClient apiClient;
|
||||
|
||||
public BillService(ApiClient apiClient) {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
/**
|
||||
* 下载对账文件
|
||||
*
|
||||
* @param reconciliationRequest ReconciliationRequest
|
||||
* @return ReconciliationResponse
|
||||
*/
|
||||
public ReconciliationResponse reconciliationDown(ReconciliationRequest reconciliationRequest) {
|
||||
String url = "/check/down";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<ReconciliationResponse> httpResponse = apiClient.post(url, headers, reconciliationRequest.toJsonRequest(), ReconciliationResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 下载对账文件
|
||||
*
|
||||
* @param returnBillRequest ReturnBillRequest
|
||||
* @return ReturnBillResponse
|
||||
*/
|
||||
public ReturnBillResponse returnBill(ReturnBillRequest returnBillRequest) {
|
||||
String url = "/download/returnBill";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<ReturnBillResponse> httpResponse = apiClient.post(url, headers, returnBillRequest.toJsonRequest(), ReturnBillResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 对账单下载
|
||||
*
|
||||
* @param checkBillRequest CheckBillRequest
|
||||
* @return CheckBillResponse
|
||||
*/
|
||||
public CheckBillResponse checkBill(CheckBillRequest checkBillRequest) {
|
||||
String url = "/download/checkBill";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<CheckBillResponse> httpResponse = apiClient.post(url, headers, checkBillRequest.toJsonRequest(), CheckBillResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.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;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("100028")
|
||||
public class CheckBillRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 下账号
|
||||
*/
|
||||
@SerializedName("account_no")
|
||||
private String accountNo;
|
||||
|
||||
/**
|
||||
* 开始日期YYYY-MM-DD
|
||||
*/
|
||||
@SerializedName("start_date")
|
||||
private String startDate;
|
||||
|
||||
/**
|
||||
* 结束日期YYYY-MM-DD
|
||||
*/
|
||||
@SerializedName("end_date")
|
||||
private String endDate;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CheckBillResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* base64编码的zip文件
|
||||
*/
|
||||
@SerializedName("file_data")
|
||||
private String fileData;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.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;
|
||||
|
||||
/**
|
||||
* 下载对账文件
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("100012")
|
||||
public class ReconciliationRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 下载类型; 1:根据渠道编号
|
||||
*/
|
||||
@SerializedName("down_type")
|
||||
private String downType;
|
||||
|
||||
/**
|
||||
* 数据类型;0:文件名 1:文件流。默认文件名
|
||||
*/
|
||||
@SerializedName("data_type")
|
||||
private String dataType;
|
||||
|
||||
/**
|
||||
* 对账日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("account_date")
|
||||
private String accountDate;
|
||||
|
||||
/**
|
||||
* 回调地址
|
||||
*/
|
||||
@SerializedName("receive_url")
|
||||
private String receiveUrl;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ReconciliationResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 批量结果文件名
|
||||
*/
|
||||
@SerializedName("batch_file")
|
||||
private String batchFile;
|
||||
|
||||
/**
|
||||
* base64编码的zip文件
|
||||
*/
|
||||
@SerializedName("file_data")
|
||||
private String fileData;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.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;
|
||||
|
||||
/**
|
||||
* 回单下载
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("100027")
|
||||
public class ReturnBillRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
@SerializedName("account_no")
|
||||
private String accountNo;
|
||||
|
||||
/**
|
||||
* 原交易流水号
|
||||
*/
|
||||
@SerializedName("original_serialno")
|
||||
private String originalSerialNo;
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
package com.czcb.scfs.api.service.v1.bills.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ReturnBillResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 批量结果文件名
|
||||
*/
|
||||
@SerializedName("batch_file")
|
||||
private String batchFile;
|
||||
|
||||
@SerializedName("fileList")
|
||||
private List<FileList> fileList;
|
||||
|
||||
/**
|
||||
* 系统日期(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 FileList implements Serializable {
|
||||
/**
|
||||
* base64编码的pdf文件
|
||||
*/
|
||||
@SerializedName("file_data")
|
||||
private String fileData;
|
||||
}
|
||||
}
|
||||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyBmdAddResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 融资白名单删除
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyBmdDelResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyBmdQueryResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -44,6 +46,7 @@ public class ApplyBmdQueryResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 产品编号
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class BmdAddResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class BmdDelResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.bmd.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -12,6 +13,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class BmdListResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -44,6 +46,7 @@ public class BmdListResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class DetailList implements Serializable {
|
||||
/**
|
||||
* 收款账户账号,分销商A2账户账号
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.face.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class FaceFileResponse implements ApiResponse {
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.file.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -12,6 +13,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class DownloadFileResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.file.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -12,6 +13,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class UploadFileResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 企业贷款申请
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyCompanyResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.loan.model;
|
|||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 贷款申请结果通知
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyNotifyResponse implements ApiRequest {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 个人贷款申请
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyPersonResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyQueryResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -44,6 +46,7 @@ public class ApplyQueryResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 产品编号
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 200
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ApplyQueryV2Response implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class RepayQueryResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -44,6 +46,7 @@ public class RepayQueryResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 贷款类型
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 贷款还款
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class RepayResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ 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 lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
|
@ -14,6 +15,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class SignFlowsUrlsResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -42,6 +44,7 @@ public class SignFlowsUrlsResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 客户名称
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.ocr.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OcrFileResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 保证金缴纳
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EarnestInsureResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 保证金释放
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EarnestReleaseResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 快捷充值查证
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class MerDepositCheckResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ import java.math.BigDecimal;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class MerDepositResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 提现查证
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class MerWithdrawCheckResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ import java.math.BigDecimal;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class MerWithdrawResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.pay.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 解冻划款
|
||||
|
|
@ -11,6 +12,7 @@ import lombok.Data;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class TransferSelfAccResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ package com.czcb.scfs.api.service.v1.sms.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class SendVerifySignResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.trans.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ import java.math.BigDecimal;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class QueryTradeInfoResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.czcb.scfs.api.service.v1.trans.model;
|
|||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -15,6 +16,7 @@ import java.util.List;
|
|||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class QueryTradeListResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
|
|
@ -98,6 +100,7 @@ public class QueryTradeListResponse implements ApiResponse {
|
|||
private String sysTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public static class DetailList implements Serializable {
|
||||
@SerializedName("recode_info")
|
||||
private String id;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import com.czcb.scfs.api.core.Profile;
|
|||
import com.czcb.scfs.api.core.http.ApiClientBuilder;
|
||||
import com.czcb.scfs.api.service.echo.EchoService;
|
||||
import com.czcb.scfs.api.service.v1.account.AccountService;
|
||||
import com.czcb.scfs.api.service.v1.bills.BillService;
|
||||
import com.czcb.scfs.api.service.v1.bmd.BmdService;
|
||||
import com.czcb.scfs.api.service.v1.face.FaceService;
|
||||
import com.czcb.scfs.api.service.v1.file.FileService;
|
||||
|
|
@ -39,51 +40,89 @@ public class ScfsAutoConfiguration {
|
|||
.build();
|
||||
}
|
||||
|
||||
/**
|
||||
* 心跳检查
|
||||
*/
|
||||
@Bean
|
||||
public EchoService echoService(ApiClient apiClient) {
|
||||
return new EchoService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 账户相关
|
||||
*/
|
||||
@Bean
|
||||
public AccountService accountService(ApiClient apiClient) {
|
||||
return new AccountService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 账单相关
|
||||
*/
|
||||
@Bean
|
||||
public BillService billService(ApiClient apiClient) {
|
||||
return new BillService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 白名单
|
||||
*/
|
||||
@Bean
|
||||
public BmdService bmdService(ApiClient apiClient) {
|
||||
return new BmdService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 人脸识别
|
||||
*/
|
||||
@Bean
|
||||
public FaceService faceService(ApiClient apiClient) {
|
||||
return new FaceService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件上传下载
|
||||
*/
|
||||
@Bean
|
||||
public FileService fileService(ApiClient apiClient) {
|
||||
return new FileService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 贷款类
|
||||
*/
|
||||
@Bean
|
||||
public LoanService loanService(ApiClient apiClient) {
|
||||
return new LoanService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* OCR识别
|
||||
*/
|
||||
@Bean
|
||||
public OcrService ocrService(ApiClient apiClient) {
|
||||
return new OcrService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付类
|
||||
*/
|
||||
@Bean
|
||||
public PayService payService(ApiClient apiClient) {
|
||||
return new PayService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 短信类
|
||||
*/
|
||||
@Bean
|
||||
public SmsService smsService(ApiClient apiClient) {
|
||||
return new SmsService(apiClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* 交易类
|
||||
*/
|
||||
@Bean
|
||||
public TransService transService(ApiClient apiClient) {
|
||||
return new TransService(apiClient);
|
||||
|
|
|
|||
Loading…
Reference in New Issue