Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_welfare
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
e67797b3
authored
Sep 02, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加日期范围选择
parent
8190b438
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
app/Http/Filters/IntegralFilter.php
storage/laravels.json
storage/laravels.pid
app/Http/Filters/IntegralFilter.php
View file @
e67797b3
...
...
@@ -16,4 +16,14 @@ class IntegralFilter extends QueryFilter
{
return
$this
->
builder
->
where
(
'status'
,
'='
,
$status
);
}
public
function
add_time
(
$addTime
=
''
)
{
$addTime
=
explode
(
'~'
,
urldecode
(
$addTime
));
foreach
(
$addTime
as
$key
=>
$value
)
{
$addTime
[
$key
]
=
strtotime
(
$value
);
}
return
$this
->
builder
->
whereBetween
(
'add_time'
,
$addTime
);
}
}
\ No newline at end of file
storage/laravels.json
View file @
e67797b3
This diff is collapsed.
Click to expand it.
storage/laravels.pid
View file @
e67797b3
5986
\ No newline at end of file
6993
\ No newline at end of file
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