wzh 5 năm trước cách đây
mục cha
commit
01b12e35aa

+ 1 - 0
api/application/controllers/Home.php

@@ -5,6 +5,7 @@ class Home extends Base_Controller {
 
 
     public function __construct() {
     public function __construct() {
         parent::__construct();
         parent::__construct();
+        $this->load->model('Lamp_model');
     }
     }
 
 
     // 设备统计信息
     // 设备统计信息