Commit df092b54 df092b54e62fa5beb69f3604ffa51036626ee2cb by lemon

*

1 parent 43b77201
...@@ -32,7 +32,7 @@ class MusicianSongService extends Service ...@@ -32,7 +32,7 @@ class MusicianSongService extends Service
32 32
33 $res = Song::query()->join($songip_table, "{$song_table}.id", '=', "{$songip_table}.song_id") 33 $res = Song::query()->join($songip_table, "{$song_table}.id", '=', "{$songip_table}.song_id")
34 ->with(['contractDetail', 'coverResource'])->whereIn("{$songip_table}.song_id", $song_ids)->select(["{$song_table}.id", 'publish_song']) 34 ->with(['contractDetail', 'coverResource'])->whereIn("{$songip_table}.song_id", $song_ids)->select(["{$song_table}.id", 'publish_song'])
35 ->groupBy(["song_id"])->get(); 35 ->groupBy(["song_id"])->paginate($this->pageSize);
36 36
37 foreach ($res as &$item) { 37 foreach ($res as &$item) {
38 38
......