fcy %!s(int64=4) %!d(string=hai) anos
pai
achega
67159315bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/web/controller/IndexController.php

+ 1 - 1
application/web/controller/IndexController.php

@@ -214,7 +214,7 @@ class IndexController extends MainController
             $v['STATUS'] = $sta[is_null($v['STATUS'])? 3:$v['STATUS']];
         }
 		$num=Db::table('deviceinfo')->where(array('PRIMARYADDR'=>$PRIMARYADDR))->count();
-        $this->api_return_json(compact('deviceinfo'), 1);
+        $this->api_return_json(compact('deviceinfo','num'), 1);
 
     }