Commit d684746d by 朱继来

Merge branch 'zjl_vp_order_20180502' into 'master'

添加竞调账号时间设置

See merge request !29
parents e58b0cf4 cf218aa6
......@@ -262,9 +262,11 @@ Class OrderController extends Controller
$data['sale_id'] = $request->user->userId;
}
// 竞调账号
// 非竞调账号显示真实数据
if ($info['username'] != 'vpadmin@ichunt.com') {
$map['is_fake'] = 0;
} else {
$map['vp_time_set'] = strtotime(Config('website.vp_time_set')); // 竞调账号根据时间展示订单
}
// 获取所有的业务员 (包括经理和交易员)
......@@ -324,6 +326,8 @@ Class OrderController extends Controller
// 非竞调账号,则查看真实数据
if ($info['username'] != 'vpadmin@ichunt.com') {
$map['is_fake'] = 0;
} else {
$map['vp_time_set'] = strtotime(Config('website.vp_time_set'));
}
// 获取所有的业务员 (包括经理和交易员)
......
......@@ -20,4 +20,7 @@ return [
'perm_api' => 'http://perm.liexin.net/api/perms/',
// 获取用户许可权限接口
'check_access_api' => 'http://perm.liexin.net/api/perms/access',
// 竞调账户配置显示时间
'vp_time_set' => '2018-04-01',
];
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