wuxw
2022-01-15 630cb0babb264657d8a07476e328654573620f8c
service-api/src/main/java/com/java110/api/controller/app/PaymentController.java
@@ -68,6 +68,9 @@
    private IOweFeeToNotifySMO oweFeeToNotifySMOImpl;
    @Autowired
    private ITempCarFeeToNotifySMO tempCarFeeToNotifySMOImpl;
    @Autowired
    private IToQrPayOweFeeSMO toQrPayOweFeeSMOImpl;
    @Autowired
    private IToPayInGoOutSMO toPayInGoOutSMOImpl;
@@ -114,7 +117,7 @@
        IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo,
                "", "", "", pd.getSessionId(),
                appId,pd.getHeaders());
                appId, pd.getHeaders());
        return toPayOweFeeSMOImpl.toPay(newPd);
    }
@@ -135,7 +138,7 @@
        IPageData newPd = PageData.newInstance().builder(pd.getUserId(), pd.getUserName(), pd.getToken(), postInfo,
                "", "", "", pd.getSessionId(),
                appId,pd.getHeaders());
                appId, pd.getHeaders());
        return toPayTempCarFeeSMOImpl.toPay(newPd);
    }
@@ -239,8 +242,8 @@
        String preStr = buildSignString(params);
        paramIn.put("preSign",preStr);
        paramIn.put("sign",sign);
        paramIn.put("preSign", preStr);
        paramIn.put("sign", sign);
        //判断签名是否相等
        // 收到通知后记得返回SUCCESS
@@ -291,8 +294,8 @@
        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);
    }
@@ -320,7 +323,7 @@
    public ResponseEntity<String> tempCarFeeNotifyUrl(@RequestBody String postInfo, HttpServletRequest request) {
        logger.debug("微信支付回调报文" + postInfo);
        return oweFeeToNotifySMOImpl.toNotify(postInfo, request);
        return tempCarFeeToNotifySMOImpl.toNotify(postInfo, request);
    }
    /**