Commit 061650ab by 朱继来

Merge branch 'master' of http://119.23.72.7/zhujilai/Order into zjl_account_20180911

parents e2adaffa 1feb2d4c
Showing with 9 additions and 0 deletions
......@@ -352,6 +352,11 @@ Class OrderController extends Controller
{
$info = $this->getOrderInfo($request, 1);
// 若为京东自营角色,则跳转到自营列表
if ($info['role'] == 6) {
return redirect('self_order');
}
return view('orderlist', $info);
}
......@@ -390,6 +395,10 @@ Class OrderController extends Controller
$data['sale_id'] = $request->user->userId;
}
if ($tid == 2 && $info['role'] == 6) {
$map['check_jd_order'] = 1; // 只允许查看京东自营订单
}
// 非竞调账号显示真实数据
if ($info['username'] != 'vpadmin@ichunt.com') {
$map['is_fake'] = 0;
......
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