瀏覽代碼

充值channel 冻结类型

linxk 2 周之前
父節點
當前提交
f2636e70a6

+ 1 - 1
cif-service/src/main/java/com/txz/cif/service/impl/FlowServiceImpl.java

@@ -71,7 +71,7 @@ public class FlowServiceImpl extends AbstractService<Flow> implements FlowServic
             }
             Date today = DateUtil.date();
             
-            Flow flow = Flow.builder().amount(param.getAmount()).bizType(param.getBizType())
+            Flow flow = Flow.builder().amount(param.getAmount()).bizType(BizTypeEnum.FREEZE.getKey())
                     .bizNo(param.getBizNo()).createTime(today).updateTime(today).transTime(param.getTransTime())
                     .debitAccount(account.getId()).creditAccount(account.getId())
                     .bizId(param.getBizId()).type(4).userId(param.getUserId())

+ 1 - 0
cif-service/src/main/java/com/txz/cif/web/RechargeRecordApiController.java

@@ -204,6 +204,7 @@ public class RechargeRecordApiController {
                     .bank(user.getBank())
                     .methodId(methodId)
                     .channelId(paymentChannel == null ? null : paymentChannel.getId())
+                    .channel(paymentChannel == null ? null : paymentChannel.getChannelName())
                     .bankAccount(user.getBankAccount())
                     .bankAccountName(user.getBankAccountName())
                     .orderNo(orderNo)