diff --git a/application/admin/controller/Ajax.php b/application/admin/controller/Ajax.php index 1bf0fe8fe3476c3ea3e78b96f2c6c84b06c57a1b..649cc41de2539b8cc2c0847a95a8124c59b1fe89 100644 --- a/application/admin/controller/Ajax.php +++ b/application/admin/controller/Ajax.php @@ -146,7 +146,7 @@ class Ajax extends Backend //操作的数据表 $table = $this->request->post("table"); //排序的方式 - $orderway = $this->request->post("orderway", 'strtolower'); + $orderway = $this->request->post("orderway", "", 'strtolower'); $orderway = $orderway == 'asc' ? 'ASC' : 'DESC'; $sour = $weighdata = []; $ids = explode(',', $ids);