wzh il y a 5 ans
Parent
commit
01b12e35aa
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      api/application/controllers/Home.php

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

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