Commit 3483d58a by 朱继来

调整自营权限

parent ad442ca9
......@@ -382,8 +382,8 @@ Class OrderController extends Controller
$info = $this->getOrderInfo($request, 1);
$info['title'] = '订单列表';
// 若为京东自营、自营客服角色,则跳转到自营列表
if (in_array($info['role'], [6, 7, 11, 12])) {
// 若为京东自营、自营客服角色,则跳转到自营列表
if (in_array($info['role'], Config('perm_args.self_roles'))) {
return redirect('self_order');
}
......
......@@ -64,4 +64,7 @@ return [
(object)['userId'=>1582, 'name'=>'滕欢欢', 'status'=>0],
],
// 自营角色 无法查看联营订单
'self_roles' => [6, 7, 10, 11, 12],
];
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