| | |
| | | private IOweFeeToNotifySMO oweFeeToNotifySMOImpl; |
| | | |
| | | @Autowired |
| | | private ITempCarFeeToNotifySMO tempCarFeeToNotifySMOImpl; |
| | | |
| | | @Autowired |
| | | private IToQrPayOweFeeSMO toQrPayOweFeeSMOImpl; |
| | | @Autowired |
| | | private IToPayInGoOutSMO toPayInGoOutSMOImpl; |
| | |
| | | |
| | | IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo, |
| | | "", "", "", pd.getSessionId(), |
| | | appId,pd.getHeaders()); |
| | | appId, pd.getHeaders()); |
| | | return toPayOweFeeSMOImpl.toPay(newPd); |
| | | } |
| | | |
| | |
| | | |
| | | IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo, |
| | | "", "", "", pd.getSessionId(), |
| | | appId,pd.getHeaders()); |
| | | appId, pd.getHeaders()); |
| | | return toPayTempCarFeeSMOImpl.toPay(newPd); |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | String preStr = buildSignString(params); |
| | | paramIn.put("preSign",preStr); |
| | | paramIn.put("sign",sign); |
| | | paramIn.put("preSign", preStr); |
| | | paramIn.put("sign", sign); |
| | | //判断签名是否相等 |
| | | |
| | | // 收到通知后记得返回SUCCESS |
| | |
| | | |
| | | |
| | | String preStr = buildSignString(params); |
| | | paramIn.put("preSign",preStr); |
| | | paramIn.put("sign",sign); |
| | | paramIn.put("preSign", preStr); |
| | | paramIn.put("sign", sign); |
| | | |
| | | return oweFeeToNotifySMOImpl.toNotify(paramIn.toJSONString(), request); |
| | | } |
| | |
| | | public ResponseEntity<String> tempCarFeeNotifyUrl(@RequestBody String postInfo, HttpServletRequest request) { |
| | | logger.debug("微信支付回调报文" + postInfo); |
| | | |
| | | return oweFeeToNotifySMOImpl.toNotify(postInfo, request); |
| | | return tempCarFeeToNotifySMOImpl.toNotify(postInfo, request); |
| | | } |
| | | |
| | | /** |