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