lidongdong
2024-04-01 623b3a96b154e56ec7de33df115dde5f70429f73
修改西区uu洗车登录接口500 3
1个文件已修改
14 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
@@ -3492,7 +3492,11 @@
        Map<String, String> headerMap = new HashMap<>();
        headerMap.put("appid", appId);
        String str="";
        String str="https://uu-api.imashuo.com/member/wx/get-access?"+ "appid=" + appId +
                "&timestamp=" + uuLoginVO.getTimestamp() +
                "&sign=" + uuLoginVO.getSign() +
                "&mobile=" + uuLoginVO.getMobile();
        if(!StringUtils.isEmpty(uuLoginVO.getProvince()))
        {
            str=str+"&province=" + uuLoginVO.getProvince();
@@ -3515,13 +3519,7 @@
        }
//        String resultJson = HttpClientUtil.get("https://uu-api.imashuo.com/member/wx/get-acces.s?province=" + uuLoginVO.getProvince() + "&city=" + uuLoginVO.getCity() + "&area=" + uuLoginVO.getArea() + "&appid=" + appId + "&timestamp=" + uuLoginVO.getTimestamp() + "&sign=" + uuLoginVO.getSign() + "&mobile=" + uuLoginVO.getMobile() + "&couponId=" + uuLoginVO.getCouponId(), headerMap, null);
        String resultJson = HttpClientUtil.get("https://uu-api.imashuo.com/member/wx/get-access?" +
                "appid=" + appId +
                "&timestamp=" + uuLoginVO.getTimestamp() +
                "&sign=" + uuLoginVO.getSign() +
                "&mobile=" + uuLoginVO.getMobile() +
                        str  ,
                headerMap, null);
        String resultJson = HttpClientUtil.get(str  ,headerMap, null);
        JSONObject result = JSON.parseObject(resultJson);
        if (result.get("status").equals(1)) {
            return R.ok(result.get("data")+"   "+resultJson);