Selaa lähdekoodia

招行支付:移动代发接口参数类型修改为string

ZhangWenQiang 5 vuotta sitten
vanhempi
commit
25fe6802f4

+ 1 - 1
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/utils/PayCommon.java

@@ -161,7 +161,7 @@ public class PayCommon {
         String trsref = System.currentTimeMillis() + code;
         obj_body.put("trsref", trsref);    //业务参考号
         obj_body.put("ttlamt", totalPayment);        //总金额
-        obj_body.put("ttlcnt", payLength);        //总笔数
+        obj_body.put("ttlcnt", String.valueOf(payLength));        //总笔数
         obj_body.put("ccynbr", PayConst.ccynbr);      //货币类型(人民币,默认为10)
         obj_body.put("trstyp", hlgSubcontractor.getTrsType());        //交易代码(代发类型),默认代发其他
         obj_body.put("paycnv", hlgSubcontractor.getPayCnv());        //代发协议,默认