java110
2021-09-03 1006ed84660edfabbb5273a523e0c3c5af20a387
service-front/src/main/java/com/java110/front/smo/payment/adapt/fuiouPay/FuiouOweFeeToNotifyAdapt.java
old mode 100644 new mode 100755
@@ -77,7 +77,7 @@
     * @return
     * @throws Exception
     */
    public String confirmPayFee(String param) {
    public String confirmPayFee(String param, String wId) {
        JSONObject resJson = new JSONObject();
        resJson.put("result_code", "010002");
        resJson.put("result_msg", "失败");
@@ -87,7 +87,7 @@
            String resultCode = map.getString("result_code");
            if ("000000".equals(resultCode)) {
                //更新数据
                int result = confirmPayFee(map);
                int result = confirmPayFee(map, wId);
                if (result > 0) {
                    //支付成功
                    resJson.put("result_code", "000000");
@@ -103,8 +103,7 @@
    }
    public int confirmPayFee(JSONObject map) {
        String wId = map.get("wId").toString();
    public int confirmPayFee(JSONObject map, String wId) {
        wId = wId.replace(" ", "+");
        ResponseEntity<String> responseEntity = null;
@@ -188,9 +187,8 @@
            responseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
        } finally {
            logger.debug("请求地址为,{} 请求中心服务信息,{},中心服务返回信息,{}", url, httpEntity, responseEntity);
            return responseEntity;
        }
        return responseEntity;
    }