Commit db89224a by 朱继来

Merge branch 'zjl_fake_data_20180319' into 'master'

调整竞调数据

See merge request !17
parents a33fc8b2 aad19b6b
Showing with 3 additions and 7 deletions
......@@ -246,9 +246,7 @@ Class OrderController extends Controller
}
// 竞调账号
if ($info['username'] == 'vpadmin@ichunt.com') {
$map['is_fake'] = 1;
} else {
if ($info['username'] != 'vpadmin@ichunt.com') {
$map['is_fake'] = 0;
}
......@@ -306,10 +304,8 @@ Class OrderController extends Controller
/* 查看ERP订单 */
$map['offline_order'] = [2, 3]; // 2-ERP, 3-JD
// 竞调账号
if ($info['username'] == 'vpadmin@ichunt.com') {
$map['is_fake'] = 1;
} else {
// 非竞调账号,则查看真实数据
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