Commit 5bee7e1b 5bee7e1b8fbbbc9bf6b3daa4808dce95cbf8d3c4 by lemon

发行作品列表

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