| | |
| | | */ |
| | | @Override |
| | | public ServerResponse getStockSort(Integer pageNo, Integer pageSize, String sort, Integer asc, String node) { |
| | | String market_url = PropertiesUtil.getProperty("sina.market.zdf.url"); |
| | | // String market_url = PropertiesUtil.getProperty("sina.market.zdf.url"); |
| | | String result = null; |
| | | String param="page="+pageNo+"&num="+pageSize+"&sort="+sort+"&asc="+asc+"&node="+node+"&symbol=&_s_r_a=sort"; |
| | | String url=market_url+param; |
| | | result = HttpClientRequest.doGet(url); |
| | | // String url=market_url+param; |
| | | // result = HttpClientRequest.doGet(url); |
| | | // |
| | | result = HttpClientRequest.doGet("http://36.138.182.213:7001/crypto/getStockSort.do?" + param); |
| | | com.alibaba.fastjson.JSONArray jsonArray = JSON.parseArray(result); |
| | | return ServerResponse.createBySuccess(jsonArray); |
| | | } |