Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ec90a8fc
...
ec90a8fcb599b46a3de693781ef12b10f1447e89
authored
2022-12-14 13:27:30 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上传
1 parent
9ed22653
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Services/PropertyTrackService.php
app/Services/PropertyTrackService.php
View file @
ec90a8f
...
...
@@ -41,8 +41,8 @@ class PropertyTrackService extends Service
public
function
list
()
{
$res
=
PropertyTrack
::
query
()
->
where
([
'create_admin'
=>
$this
->
request
->
get
(
'identifier'
)
->
company_id
,
'from'
=>
1
])
->
when
(
filled
(
$this
->
request
->
input
(
'
upload_time
'
)),
function
(
Builder
$builder
){
list
(
$start
,
$end
)
=
explode
(
' - '
,
$this
->
request
->
input
(
'
upload_time
'
));
->
when
(
filled
(
$this
->
request
->
input
(
'
created_at
'
)),
function
(
Builder
$builder
){
list
(
$start
,
$end
)
=
explode
(
' - '
,
$this
->
request
->
input
(
'
created_at
'
));
$builder
->
whereBetween
(
'upload_time'
,
[
trim
(
$start
),
trim
(
$end
)]);
})
->
when
(
filled
(
$this
->
request
->
input
(
'song_name'
)),
function
(
Builder
$builder
){
...
...
Please
register
or
sign in
to post a comment