chengwl 4 سال پیش
والد
کامیت
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);