租赁资金账户资金充值功能,对接项目的支付接口,application-rental.yml添加配置NILE和主网的对接配置
This commit is contained in:
1 parent
911a3634ee
commit
e73f099734
20 files changed
+878
-9
No files matched your search
@@ -53,6 +53,10 @@ public class PaymentApiController {
|
||||
result.put("trade_id", order.getTradeId());
|
||||
result.put("status", order.getStatus());
|
||||
result.put("transaction_id", order.getBlockTransactionId());
|
||||
result.put("network", order.getPaymentNetwork());
|
||||
result.put("payment_amount", order.getActualAmount());
|
||||
result.put("payment_address", order.getToken());
|
||||
result.put("expiration_time", order.getCreatedAt().getTime() + 600000L);
|
||||
if (Long.valueOf(2L).equals(order.getStatus())) {
|
||||
result.put("signed_redirect_url",
|
||||
paymentRedirectService.buildSignedRedirectUrl(order, request.getApiKey()));
|
||||
|
||||
Reference in new issue
Block a user