| | |
| | | public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException { |
| | | String paramIn = CommonCache.getAndRemoveValue("payFeePre" + reqJson.getString("oId")); |
| | | JSONObject paramObj = JSONObject.parseObject(paramIn); |
| | | |
| | | String appId = paramObj.getString("appId"); |
| | | |
| | | if (AppDto.WECHAT_MINA_OWNER_APP_ID.equals(appId)) { //微信小程序支付 |
| | | if (reqJson.containsKey("custEndTimeUse")){ |
| | | paramObj.put("custEndTimeUse",reqJson.getString("custEndTimeUse")); |
| | | } |
| | | if (reqJson.containsKey("receivedAmount")){ |
| | | paramObj.put("receivedAmount",reqJson.getString("receivedAmount")); |
| | | } |
| | | if (reqJson.containsKey("remark")){ |
| | | paramObj.put("primeRate", "6"); |
| | | paramObj.put("remark", reqJson.getString("remark")); |
| | | } else if (AppDto.WECHAT_MINA_OWNER_APP_ID.equals(appId)) { //微信小程序支付 |
| | | paramObj.put("primeRate", "6"); |
| | | paramObj.put("remark", "线上小程序支付"); |
| | | } else if (AppDto.WECHAT_OWNER_APP_ID.equals(appId)) { //微信公众号支付 |