chengwl 4 лет назад
Родитель
Сommit
fa2892349c
1 измененных файлов с 1 добавлено и 1 удалено
  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);