|
@@ -12,7 +12,7 @@ import state from "/src/state";
|
|
|
export const getMusicSheetDetail = (sysMusicScoreId: string, type?: string, musicId?: string) => {
|
|
|
let url = type === 'open' ? `/open/musicSheet/cbsDetail/${sysMusicScoreId}?userMusicId=${musicId}` : `/musicSheet/cbsDetail/${sysMusicScoreId}?tenantAlbumId=${state.tenantAlbumId}`;
|
|
|
if (state.systemType === 'web') {
|
|
|
- url += `&providerType=${state.providerType}`
|
|
|
+ url = `/musicSheet/cbsDetail/${sysMusicScoreId}?providerType=${state.providerType}`
|
|
|
}
|
|
|
return request.get(url, { noToken: type === 'open' ? true : false });
|
|
|
};
|