chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
fa2892349c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);