正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
@@ -33,12 +33,7 @@ class Index extends Api | @@ -33,12 +33,7 @@ class Index extends Api | ||
33 | protected $swApiurl="http://121.37.218.20:9011/"; | 33 | protected $swApiurl="http://121.37.218.20:9011/"; |
34 | protected $sxjApiurl="http://124.71.107.128:9040/"; | 34 | protected $sxjApiurl="http://124.71.107.128:9040/"; |
35 | //前置方法 | 35 | //前置方法 |
36 | - public function _initialize() | ||
37 | - { | ||
38 | - $user=new User(); | ||
39 | - $this->token=$user->tokenLogin(); | ||
40 | - parent::_initialize(); | ||
41 | - } | 36 | + |
42 | //1.查询摄像头接口 | 37 | //1.查询摄像头接口 |
43 | public function getCamera(){ | 38 | public function getCamera(){ |
44 | $url=$this->cameraurl."/api/reservoir/hkws/Hardware/getListByReservoir"; | 39 | $url=$this->cameraurl."/api/reservoir/hkws/Hardware/getListByReservoir"; |
-
请 注册 或 登录 后发表评论