| | |
| | | public R myFeedBack(@RequestParam(value = "username",required = false) String username, |
| | | @RequestParam(value = "password",required = false) String password) |
| | | { |
| | | // String resultJson = HttpClientUtil.sendPostByJson("http://117.172.73.171:9901/aaToken?username="+username+"&password="+password, null,3,null,null); |
| | | // String resultJson = HttpClientUtil.sendPostByJson("http://117.172.73.171:9901/aaToken?username=huacheng&password=hc1236987", null,3,null,null); |
| | | // String url="http://117.172.73.171:9901/aaToken?username=huacheng&password=hc1236987"; |
| | | String url="http://117.172.73.171:9901/aaToken?username="+username+"&password="+password; |
| | | try { |
| | | String result=HttpClientUtil.httpPost("http://117.172.73.171:9901/aaToken?username=huacheng&password=hc1236987", |
| | | null); |
| | | String result=HttpClientUtil.httpPost(url,null); |
| | | return R.ok(result); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |