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
d59af217
...
d59af21714c9aa74635dc1067566e93ef6136fab
authored
2022-12-05 10:31:07 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
生成分享链接并且生成token
1 parent
84ca0ebc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
app/Services/PropertyTrackService.php
app/Services/PropertyTrackService.php
View file @
d59af21
...
...
@@ -39,7 +39,10 @@ class PropertyTrackService extends Service
})
->
when
(
filled
(
$this
->
request
->
input
(
'song_name'
)),
function
(
Builder
$builder
){
$builder
->
where
(
'song_name'
,
'like'
,
"%
{
$this
->
request
->
input
(
'song_name'
)
}
%"
);
})
->
orderByDesc
(
'id'
)
->
paginate
(
$this
->
pageSize
);
})
->
when
(
filled
(
$this
->
request
->
input
(
'status'
)),
function
(
Builder
$builder
){
$builder
->
where
(
'status'
,
$this
->
request
->
input
(
'status'
));
})
->
orderByDesc
(
'id'
)
->
paginate
(
$this
->
pageSize
);
return
Response
::
success
(
$res
);
}
...
...
Please
register
or
sign in
to post a comment