chengwl 4 năm trước cách đây
mục cha
commit
fa2892349c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);