调整数据格式
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -69,7 +69,7 @@ class MusicianSongService extends Service | ... | @@ -69,7 +69,7 @@ class MusicianSongService extends Service |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | $item->setAttribute('role', array_unique($role)); | 72 | $item->setAttribute('role', array_values(array_unique($role))); |
| 73 | unset($item->contractDetail, $item->publish_song, $item->coverResource); | 73 | unset($item->contractDetail, $item->publish_song, $item->coverResource); |
| 74 | } | 74 | } |
| 75 | 75 | ... | ... |
-
Please register or sign in to post a comment