| | |
| | | StringBuffer recordFromTaskResultBuffer = null; |
| | | //上报数据 |
| | | try { |
| | | // URL url = new URL("http://120.71.182.198:9999/v1/data/receive/measuresTaskRecordMsg"); |
| | | URL url = new URL("https://cjzjg.gtaq.com.cn:7004/v1/data/receive/measuresTaskRecordMsg"); //备用地址 |
| | | URL url = new URL("http://120.71.182.198:9999/v1/data/receive/measuresTaskRecordMsg"); |
| | | //URL url = new URL("https://cjzjg.gtaq.com.cn:7004/v1/data/receive/measuresTaskRecordMsg"); //备用地址 |
| | | //得到连接对象 |
| | | con = (HttpURLConnection) url.openConnection(); |
| | | //设置请求类型 |