Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cf218aa6
authored
May 02, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加竞调账号时间设置
parent
e58b0cf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
app/Http/Controllers/OrderController.php
config/website.php
app/Http/Controllers/OrderController.php
View file @
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'
));
}
// 获取所有的业务员 (包括经理和交易员)
...
...
config/website.php
View file @
cf218aa6
...
...
@@ -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'
,
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment