调整数据格式
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -47,7 +47,7 @@ class MusicianSongService extends Service | ... | @@ -47,7 +47,7 @@ class MusicianSongService extends Service |
47 | $item->setAttribute('name', $name); | 47 | $item->setAttribute('name', $name); |
48 | $item->setAttribute('singer', $singer); | 48 | $item->setAttribute('singer', $singer); |
49 | $item->setAttribute('cover', empty($item->coverResource) ? '' : $item->coverResource->url); | 49 | $item->setAttribute('cover', empty($item->coverResource) ? '' : $item->coverResource->url); |
50 | $item->setAttribute('ext', $sp_exts[$item->sp_id] ?? []); | 50 | $item->setAttribute('ext', $sp_exts[$item->sp_id] ?? null); |
51 | 51 | ||
52 | $tmp = $item->toArray(); | 52 | $tmp = $item->toArray(); |
53 | if (empty($tmp['contract_detail'])) { | 53 | if (empty($tmp['contract_detail'])) { | ... | ... |
-
Please register or sign in to post a comment