修改wsn数据处理地址

This commit is contained in:
wlx 2013-09-26 04:11:27 +00:00
parent f89fd45706
commit 7a3dcab48c
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ class DataService
);
$param = array_merge($param,$param_temp);
$url = "http://waterwsn.westgis.ac.cn/downdatas.php";
$url = "http://ftp2.westgis.ac.cn/wsndata.php";
$curl = new Curl();
$data = $curl->request($url,$param,"POST");
$data = $curl->request($url,$param);
$data = json_decode($data['response'],TRUE);
}
}