| | |
| | | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String attach="{'rechargeNo':CZ_2022083117160259880,'memberId':47}"; |
| | | JSONObject jsonObject = JSONUtil.parseObj(attach); |
| | | String rechargeNo = (String) jsonObject.get("rechargeNo"); |
| | | Long memberId = Long.parseLong(jsonObject.get("memberId").toString()); |
| | | System.out.println(memberId); |
| | | System.out.println(rechargeNo); |
| | | } |
| | | // public static void main(String[] args) { |
| | | // String attach="{'rechargeNo':CZ_2022083117160259880,'memberId':47}"; |
| | | // JSONObject jsonObject = JSONUtil.parseObj(attach); |
| | | // String rechargeNo = (String) jsonObject.get("rechargeNo"); |
| | | // Long memberId = Long.parseLong(jsonObject.get("memberId").toString()); |
| | | // System.out.println(memberId); |
| | | // System.out.println(rechargeNo); |
| | | // } |
| | | /** |
| | | * 微信支付回调接口 |
| | | */ |
| | |
| | | // resXml = AppConstance.RESULT_XML_FAIL.replace(ERRORMSG, "支付回调签名错误"); |
| | | } finally { |
| | | // 通知线程消息 |
| | | PayThreadPool.notifyThread(Integer.valueOf(orderId), threadResult); |
| | | // PayThreadPool.notifyThread(Integer.valueOf(orderId), threadResult); |
| | | sendResultBack(response, resXml); |
| | | } |
| | | return; |