@@ -40,7 +40,7 @@ class IndexController extends \app\controllers\HomeController
}catch(\Exception $e){
$this->json(0,[],$e->getMessage());
}
- $this->json([1,$res]);
+ $this->json(1,$res);