Commit 531382d3 by 朱继来

调整

parent aa773c0a
Showing with 1 additions and 1 deletions
......@@ -261,7 +261,7 @@
$data = [];
$data['role_id'] = min($roles); // 默认最小值
$data['sale_id'] = -1; // 默认无法搜索数据
$data['sale_id'] = $request->user->userId; // 默认只能查看自己的订单数据
$master = array_intersect($roles, Config('perm_args.check_all_order')); // 交集,是否能查看所有订单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment