update nhỏ của commit trước
This commit is contained in:
parent
fa10b73a3d
commit
2113fd89c5
|
@ -381,7 +381,7 @@ class DeviceController extends Controller {
|
||||||
public function actionSync() {
|
public function actionSync() {
|
||||||
if (Yii::$app->request->post()) {
|
if (Yii::$app->request->post()) {
|
||||||
Yii::$app->response->format = "json";
|
Yii::$app->response->format = "json";
|
||||||
$post = Yii::$app->request->post("lists");
|
$post = Yii::$app->request->post();
|
||||||
$lists = $post["lists"];
|
$lists = $post["lists"];
|
||||||
if ($post["all"] && count($lists) >= 20) {
|
if ($post["all"] && count($lists) >= 20) {
|
||||||
$temp = [];
|
$temp = [];
|
||||||
|
@ -546,7 +546,7 @@ class DeviceController extends Controller {
|
||||||
public function actionGetLogs() {
|
public function actionGetLogs() {
|
||||||
if (Yii::$app->request->post()) {
|
if (Yii::$app->request->post()) {
|
||||||
Yii::$app->response->format = "json";
|
Yii::$app->response->format = "json";
|
||||||
$post = Yii::$app->request->post("lists");
|
$post = Yii::$app->request->post();
|
||||||
$lists = $post["lists"];
|
$lists = $post["lists"];
|
||||||
if ($post["all"] && count($lists) >= 20) {
|
if ($post["all"] && count($lists) >= 20) {
|
||||||
$temp = [];
|
$temp = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user