Commit 14c00356 by 朱继来

添加客服、测试查看订单限制

parent df45d6ca
Showing with 2 additions and 2 deletions
......@@ -284,8 +284,8 @@ Class OrderController extends Controller
/* 临时添加 所有人只能查看线上订单 */
$map['online_order'] = 1;
// 订单查看权限---交易员
if ($info['role'] == 3) {
// 订单查看权限---交易员、客服、测试
if (in_array($info['role'], [3, 4, 5])) {
// 筛选自己的订单
$data['sale_id'] = $request->user->userId;
}
......
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