fix:肥猫接口字段变更

main
wb1608 2024-07-30 15:14:12 +08:00
parent ce193957e2
commit 49e1dcd0e9
6 changed files with 124 additions and 18 deletions

View File

@ -20,7 +20,7 @@ public class ProjectService {
}
/**
*
*
*/
public ProjectAddResponse projectAdd(ProjectAddRequest projectAddRequest) {
String url = "/purchase/project-add";

View File

@ -192,6 +192,24 @@ public class ProjectAddRequest implements ApiRequest {
@SerializedName("project_amount")
private BigDecimal projectAmount;
/**
* 1
*/
@SerializedName("gd_amount_1")
private BigDecimal gdAmount1;
/**
* 2
*/
@SerializedName("gd_amount_2")
private BigDecimal gdAmount2;
/**
* 3
*/
@SerializedName("gd_amount_3")
private BigDecimal gdAmount3;
/**
*
*/

View File

@ -50,21 +50,12 @@ public class ProjectPayRequest implements ApiRequest {
@SerializedName("trans_tradetime")
private String transTradeTime;
/**
*
*/
@SerializedName("project_no")
private String projectNo;
/**
*
*/
@SerializedName("pay_amount")
private String payAmount;
/**
* <= *
*/
@SerializedName("loan_amount")
private BigDecimal loanAmount;
/**
* 1 5
*/
@ -84,17 +75,78 @@ public class ProjectPayRequest implements ApiRequest {
private String applyAccountName;
/**
* (A1)
* <= +*
*/
@SerializedName("loan_amount")
private BigDecimal loanAmount;
/**
* A1A1/A1/A1
*/
@SerializedName("account_no")
private String accountNo;
/**
* A1A1/A1/A1
*/
@SerializedName("account_name")
private String accountName;
/**
* A1A2
* 0 -
*/
@SerializedName("freeze_amount")
private BigDecimal freezeAmount;
/**
* A2A2/A2/A2
*/
@SerializedName("pay_account_no")
private String payAccountNo;
/**
* (A1)
* A2A2/A2/A2
*/
@SerializedName("pay_account_name")
private String payAccountName;
/**
*
*/
@SerializedName("pay_amount")
private BigDecimal payAmount;
/**
*
*/
@SerializedName("gd_amount_release")
private BigDecimal gdAmountRelease;
/**
* A2/A2/
*/
@SerializedName("opp_account_no")
private String oppAccountNo;
/**
* A2/A2/
*/
@SerializedName("opp_account_name")
private String oppAccountName;
/**
* A2/A2/
*/
@SerializedName("opp_bank_no")
private String oppBankNo;
/**
* A2/A2/
*/
@SerializedName("opp_bank_name")
private String oppBankName;
/**
* 1 5 9103803
*/

View File

@ -228,6 +228,42 @@ public class ProjectQueryResponse implements ApiResponse {
@SerializedName("project_amount")
private BigDecimal projectAmount;
/**
* 1
*/
@SerializedName("gd_amount_1")
private BigDecimal gdAmount1;
/**
* 1
*/
@SerializedName("gd_amount_release_1")
private BigDecimal gdAmountRelease1;
/**
* 2
*/
@SerializedName("gd_amount_2")
private BigDecimal gdAmount2;
/**
* 2
*/
@SerializedName("gd_amount_release_2")
private BigDecimal gdAmountRelease2;
/**
* 3
*/
@SerializedName("gd_amount_3")
private BigDecimal gdAmount3;
/**
* 3
*/
@SerializedName("gd_amount_release_3")
private BigDecimal gdAmountRelease3;
/**
*
*/

View File

@ -2,7 +2,7 @@ scfs.api-gateway.online=false
#scfs.api-gateway.host=http://10.131.98.80:8088/api-gateway
scfs.api-gateway.host=http://10.129.155.38:8088/api-gateway
#scfs.api-gateway.host=http://127.0.0.1:8088/api-gateway
scfs.api-gateway.channel.channel-no=1039
scfs.api-gateway.channel.channel-no=1021
scfs.api-gateway.channel.app-no=42
scfs.api-gateway.cipher.store-type=resources
#scfs.api-gateway.cipher.channel-private-key=invalid_rsa_private_key.pem

View File

@ -28,7 +28,7 @@ class InvoiceServiceTest {
void matchTest() {
InvoiceSettleMatchRequest request = new InvoiceSettleMatchRequest();
request.setChannelNo("1039");
request.setAppNo("21");
request.setAppNo("42");
request.setSerialNo("123456");
request.setTransDate("2024-07-24");
request.setTransTradeTime("2024-07-24 15:52:11");
@ -62,7 +62,7 @@ class InvoiceServiceTest {
void invoiceSettleRepay() {
InvoiceSettleRepayRequest request = new InvoiceSettleRepayRequest();
request.setChannelNo("1039");
request.setAppNo("42");
request.setAppNo("21");
request.setSerialNo("12121212");
request.setTransDate("2024-07-24");
request.setTransTradeTime("2024-07-24 15:52:11");