Commit 5bee7e1b 5bee7e1b8fbbbc9bf6b3daa4808dce95cbf8d3c4 by lemon

发行作品列表

1 parent 1760ca31
...@@ -152,8 +152,8 @@ class MusicianSongService extends Service ...@@ -152,8 +152,8 @@ class MusicianSongService extends Service
152 $contracts[$k] = [ 152 $contracts[$k] = [
153 'contract_id'=>$item['contract_id'], 153 'contract_id'=>$item['contract_id'],
154 'files' => $files, 154 'files' => $files,
155 'cooperation_type'=>$item['contract']['cooperation_type'], 155 'cooperation_type'=>$item['contract']['cooperation_type'] ?? '',
156 'right'=> Contract::getModel($item['contract']['cooperation_type'], $right), 156 'right'=> Contract::getModel($item['contract']['cooperation_type'] ?? '', $right),
157 'role'=> array_unique($role), 157 'role'=> array_unique($role),
158 ]; 158 ];
159 } 159 }
......