chengwl 4 years ago
parent
commit
fa2892349c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/IndexController.php

+ 1 - 1
controllers/IndexController.php

@@ -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);