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
342c6528
...
342c6528e2c5650bb50845f91e22d9e148f66c0c
authored
2021-09-18 17:00:08 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首发专辑
1 parent
a4117c08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/ReleaseSongService.php
app/Services/ReleaseSongService.php
View file @
342c652
...
...
@@ -19,7 +19,7 @@ class ReleaseSongService extends Service
{
$res
=
SongsIp
::
query
()
->
where
(
'online_time'
,
'<='
,
now
()
->
toDateTimeString
())
->
select
([
'songs_ip.id'
,
'edition as name'
,
'track_cover as cover'
])
->
join
(
'songs_ip_exts as six'
,
'songs_ip.
song_
id'
,
'='
,
'six.song_ip_id'
)
->
join
(
'songs_ip_exts as six'
,
'songs_ip.id'
,
'='
,
'six.song_ip_id'
)
->
orderByDesc
(
'online_time'
)
->
groupBy
(
'edition'
)
->
paginate
(
$this
->
pageSize
);
return
Response
::
success
(
$res
);
...
...
Please
register
or
sign in
to post a comment