java110
2020-06-18 cc085bf3253a2d0b511b6b7dbb7982cfd5d64d33
service-front/src/main/java/com/java110/front/smo/payment/impl/ToPaySMOImpl.java
@@ -83,7 +83,7 @@
        double money = Double.parseDouble(orderInfo.getString("receivableAmount"));
        Map tmpParamIn = new HashMap();
        tmpParamIn.put("userId", pd.getUserId());
        responseEntity = super.getUserAndAttr(pd, restTemplate, tmpParamIn);
        responseEntity = super.getOwnerAppUser(pd, restTemplate, tmpParamIn);
        logger.debug("查询用户信息返回报文:" + responseEntity);
        if (responseEntity.getStatusCode() != HttpStatus.OK) {
            throw new IllegalArgumentException("未查询用户信息异常" + tmpParamIn);
@@ -96,7 +96,7 @@
            throw new IllegalArgumentException("未查询微信用户");
        }
        JSONObject realUserInfo = userResult.getJSONArray("users").getJSONObject(0);
        JSONObject realUserInfo = userResult.getJSONArray("data").getJSONObject(0);
        String openId = realUserInfo.getString("openId");
//        String payAppId = orderInfo.getString("payAppId");