diff --git a/application/admin/controller/orders/Dispatch2.php b/application/admin/controller/orders/Dispatch2.php index a8b95b8..9d1c1d7 100644 --- a/application/admin/controller/orders/Dispatch2.php +++ b/application/admin/controller/orders/Dispatch2.php @@ -72,8 +72,8 @@ class Dispatch2 extends Backend $list = $this->model ->with(['orderb','lastRecord']) - //->dispatchauth($this->auth) - ->dispatcherauth($this->auth) + ->auth($this->auth) + // ->dispatcherauth($this->auth) ->where($where) ->order($sort, $order) ->paginate($limit);