From 2113fd89c5433fd6ccb46c4e7c2d8c2902685b5b Mon Sep 17 00:00:00 2001 From: dongpd Date: Wed, 4 Nov 2020 17:28:11 +0700 Subject: [PATCH] =?UTF-8?q?update=20nh=E1=BB=8F=20c=E1=BB=A7a=20commit=20t?= =?UTF-8?q?r=C6=B0=E1=BB=9Bc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/DeviceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/DeviceController.php b/controllers/DeviceController.php index 89586958..99eede21 100644 --- a/controllers/DeviceController.php +++ b/controllers/DeviceController.php @@ -381,7 +381,7 @@ class DeviceController extends Controller { public function actionSync() { if (Yii::$app->request->post()) { Yii::$app->response->format = "json"; - $post = Yii::$app->request->post("lists"); + $post = Yii::$app->request->post(); $lists = $post["lists"]; if ($post["all"] && count($lists) >= 20) { $temp = []; @@ -546,7 +546,7 @@ class DeviceController extends Controller { public function actionGetLogs() { if (Yii::$app->request->post()) { Yii::$app->response->format = "json"; - $post = Yii::$app->request->post("lists"); + $post = Yii::$app->request->post(); $lists = $post["lists"]; if ($post["all"] && count($lists) >= 20) { $temp = [];