wzh 4 anni fa
parent
commit
7b41557911
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      api/application/controllers/Test.php

+ 5 - 0
api/application/controllers/Test.php

@@ -16,6 +16,11 @@ class Test extends CI_Controller {
         $this->version = $version;
     }
 
+    public function crazycat(){
+        $this->db->query('update lampinfo set netstatus = 0');
+        var_dump('ok');
+    }
+
     // 批量导入
     public function haha(){
         $info = '91 0100 00 a800010001 0c 11 3e80 3c8c 3908 3138 2f44 3390283c2ee0245403e8007800781e05a3412cec27101e010fc3';