作者 郭文星

1231

... ... @@ -33,12 +33,7 @@ class Index extends Api
protected $swApiurl="http://121.37.218.20:9011/";
protected $sxjApiurl="http://124.71.107.128:9040/";
//前置方法
public function _initialize()
{
$user=new User();
$this->token=$user->tokenLogin();
parent::_initialize();
}
//1.查询摄像头接口
public function getCamera(){
$url=$this->cameraurl."/api/reservoir/hkws/Hardware/getListByReservoir";
... ...