| | |
| | | str=str+"&couponId=" + uuLoginVO.getCouponId(); |
| | | } |
| | | |
| | | |
| | | return R.ok(str); |
| | | |
| | | // 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 + "×tamp=" + uuLoginVO.getTimestamp() + "&sign=" + uuLoginVO.getSign() + "&mobile=" + uuLoginVO.getMobile() + "&couponId=" + uuLoginVO.getCouponId(), 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); |
| | | } |
| | | return R.fail("信息错误"+" "+resultJson); |
| | | // 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); |
| | | // } |
| | | // return R.fail("信息错误"+" "+resultJson); |
| | | } |
| | | |
| | | @Override |