wzh hace 4 años
padre
commit
7b41557911
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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';