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
df092b54
...
df092b54e62fa5beb69f3604ffa51036626ee2cb
authored
2021-07-19 17:40:08 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
43b77201
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/MusicianSongService.php
app/Services/MusicianSongService.php
View file @
df092b5
...
...
@@ -32,7 +32,7 @@ class MusicianSongService extends Service
$res
=
Song
::
query
()
->
join
(
$songip_table
,
"
{
$song_table
}
.id"
,
'='
,
"
{
$songip_table
}
.song_id"
)
->
with
([
'contractDetail'
,
'coverResource'
])
->
whereIn
(
"
{
$songip_table
}
.song_id"
,
$song_ids
)
->
select
([
"
{
$song_table
}
.id"
,
'publish_song'
])
->
groupBy
([
"song_id"
])
->
get
(
);
->
groupBy
([
"song_id"
])
->
paginate
(
$this
->
pageSize
);
foreach
(
$res
as
&
$item
)
{
...
...
Please
register
or
sign in
to post a comment