Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lzzzzl
/
spiderboard
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
f14fd450
authored
Mar 02, 2020
by
lzzzzl
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
新增数据表盘
parent
278daa71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Controllers/AccessApiController.php
app/Http/Controllers/AccessApiController.php
View file @
f14fd450
...
...
@@ -161,8 +161,8 @@ class AccessApiController extends Controller
private
function
ApiEffectSku
(
$request
)
{
$start_time
=
empty
(
$request
[
'start_time'
])
?
strtotime
(
"-1 day"
)
:
$request
[
'start_time'
]
;
$end_time
=
empty
(
$request
[
'end_time'
])
?
strtotime
(
"0 day"
)
:
$request
[
'end_time'
]
;
$start_time
=
empty
(
$request
[
'start_time'
])
?
strtotime
(
"-1 day"
)
:
strtotime
(
$request
[
'start_time'
])
;
$end_time
=
empty
(
$request
[
'end_time'
])
?
strtotime
(
"0 day"
)
:
strtotime
(
$request
[
'end_time'
])
;
$data
=
(
new
SpiderModel
())
->
effectSku
(
$start_time
,
$end_time
);
$this
->
ExportLayui
(
0
,
'成功'
,
$data
,
sizeof
(
$data
));
...
...
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