update nhỏ của commit trước

This commit is contained in:
dongpd 2020-11-04 17:28:11 +07:00
parent fa10b73a3d
commit 2113fd89c5

View File

@ -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 = [];