migu-api-enhanced 2.22.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/index.cjs +55 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -2
- package/dist/index.d.ts +56 -2
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1028,6 +1028,56 @@ declare const redeemAiBean: (pacmtoken: string) => Promise<{
|
|
|
1028
1028
|
newPacmToken: string;
|
|
1029
1029
|
}>;
|
|
1030
1030
|
|
|
1031
|
+
/**
|
|
1032
|
+
* 获取云盘音乐下载地址
|
|
1033
|
+
* @param pacmtoken 用户token
|
|
1034
|
+
* @param contentId 云盘音乐contentId
|
|
1035
|
+
* @param toneFlag 音乐质量 默认PQ
|
|
1036
|
+
* @returns 地址和新的pacmtoken
|
|
1037
|
+
*/
|
|
1038
|
+
declare const getCloudDLUrl: (pacmtoken: string, contentId: string, toneFlag?: string) => Promise<{
|
|
1039
|
+
data: any;
|
|
1040
|
+
newPacmToken: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 获取用户手机号,彩铃信息
|
|
1045
|
+
* @param pacmtoken 用户token
|
|
1046
|
+
* @returns 用户完整手机号,彩铃信息和新的pacmtoken
|
|
1047
|
+
*/
|
|
1048
|
+
declare const getUserPhoneInfo: (pacmtoken: string) => Promise<{
|
|
1049
|
+
data: any;
|
|
1050
|
+
newPacmToken: string;
|
|
1051
|
+
}>;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* 获取畅听tab
|
|
1055
|
+
* @param pacmtoken 可选-登录凭证,用于获取所有场景 (无则3个)
|
|
1056
|
+
* @returns 3个听歌模式,多个场景
|
|
1057
|
+
*/
|
|
1058
|
+
declare const getListenFreelyTab: (pacmtoken?: string) => Promise<{
|
|
1059
|
+
data: any;
|
|
1060
|
+
newPacmToken: string | undefined;
|
|
1061
|
+
}>;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* 获取畅听歌曲
|
|
1065
|
+
* @param pacmtoken 必填-登录凭证
|
|
1066
|
+
* @param modelId 可选-模型ID,默认701000(默认模式)
|
|
1067
|
+
* @returns 5个推荐歌曲
|
|
1068
|
+
*/
|
|
1069
|
+
declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Promise<{
|
|
1070
|
+
data: {
|
|
1071
|
+
success: boolean;
|
|
1072
|
+
code: string;
|
|
1073
|
+
info: string;
|
|
1074
|
+
};
|
|
1075
|
+
newPacmToken: undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
data: any;
|
|
1078
|
+
newPacmToken: string;
|
|
1079
|
+
}>;
|
|
1080
|
+
|
|
1031
1081
|
/**
|
|
1032
1082
|
* modules 子目录统一入口
|
|
1033
1083
|
* 汇总导出所有 API 函数
|
|
@@ -1049,6 +1099,7 @@ declare const api_getAiBeanCount: typeof getAiBeanCount;
|
|
|
1049
1099
|
declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
|
|
1050
1100
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
1051
1101
|
declare const api_getAlbumSong: typeof getAlbumSong;
|
|
1102
|
+
declare const api_getCloudDLUrl: typeof getCloudDLUrl;
|
|
1052
1103
|
declare const api_getCloudUploadUrl: typeof getCloudUploadUrl;
|
|
1053
1104
|
declare const api_getCloudUrl: typeof getCloudUrl;
|
|
1054
1105
|
declare const api_getColumnInfo: typeof getColumnInfo;
|
|
@@ -1064,6 +1115,8 @@ declare const api_getFollowerList: typeof getFollowerList;
|
|
|
1064
1115
|
declare const api_getFollowingList: typeof getFollowingList;
|
|
1065
1116
|
declare const api_getFollowingVra: typeof getFollowingVra;
|
|
1066
1117
|
declare const api_getInteractionMsg: typeof getInteractionMsg;
|
|
1118
|
+
declare const api_getListenFreelySongs: typeof getListenFreelySongs;
|
|
1119
|
+
declare const api_getListenFreelyTab: typeof getListenFreelyTab;
|
|
1067
1120
|
declare const api_getListenRank: typeof getListenRank;
|
|
1068
1121
|
declare const api_getLyric: typeof getLyric;
|
|
1069
1122
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
@@ -1123,6 +1176,7 @@ declare const api_getUserHeader: typeof getUserHeader;
|
|
|
1123
1176
|
declare const api_getUserHeartthrob: typeof getUserHeartthrob;
|
|
1124
1177
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
1125
1178
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
1179
|
+
declare const api_getUserPhoneInfo: typeof getUserPhoneInfo;
|
|
1126
1180
|
declare const api_getUserSongPage: typeof getUserSongPage;
|
|
1127
1181
|
declare const api_getVersion: typeof getVersion;
|
|
1128
1182
|
declare const api_getVipPlaylist: typeof getVipPlaylist;
|
|
@@ -1157,7 +1211,7 @@ declare const api_shareVideo: typeof shareVideo;
|
|
|
1157
1211
|
declare const api_signAiBean: typeof signAiBean;
|
|
1158
1212
|
declare const api_signNinan: typeof signNinan;
|
|
1159
1213
|
declare namespace api {
|
|
1160
|
-
export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
|
|
1214
|
+
export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
|
|
1161
1215
|
}
|
|
1162
1216
|
|
|
1163
1217
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
@@ -1237,4 +1291,4 @@ declare function createClient(): ExpandedApi<typeof api>;
|
|
|
1237
1291
|
/** 客户端类型 */
|
|
1238
1292
|
type MiguClient = ReturnType<typeof createClient>;
|
|
1239
1293
|
|
|
1240
|
-
export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
|
|
1294
|
+
export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
|
package/dist/index.d.ts
CHANGED
|
@@ -1028,6 +1028,56 @@ declare const redeemAiBean: (pacmtoken: string) => Promise<{
|
|
|
1028
1028
|
newPacmToken: string;
|
|
1029
1029
|
}>;
|
|
1030
1030
|
|
|
1031
|
+
/**
|
|
1032
|
+
* 获取云盘音乐下载地址
|
|
1033
|
+
* @param pacmtoken 用户token
|
|
1034
|
+
* @param contentId 云盘音乐contentId
|
|
1035
|
+
* @param toneFlag 音乐质量 默认PQ
|
|
1036
|
+
* @returns 地址和新的pacmtoken
|
|
1037
|
+
*/
|
|
1038
|
+
declare const getCloudDLUrl: (pacmtoken: string, contentId: string, toneFlag?: string) => Promise<{
|
|
1039
|
+
data: any;
|
|
1040
|
+
newPacmToken: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 获取用户手机号,彩铃信息
|
|
1045
|
+
* @param pacmtoken 用户token
|
|
1046
|
+
* @returns 用户完整手机号,彩铃信息和新的pacmtoken
|
|
1047
|
+
*/
|
|
1048
|
+
declare const getUserPhoneInfo: (pacmtoken: string) => Promise<{
|
|
1049
|
+
data: any;
|
|
1050
|
+
newPacmToken: string;
|
|
1051
|
+
}>;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* 获取畅听tab
|
|
1055
|
+
* @param pacmtoken 可选-登录凭证,用于获取所有场景 (无则3个)
|
|
1056
|
+
* @returns 3个听歌模式,多个场景
|
|
1057
|
+
*/
|
|
1058
|
+
declare const getListenFreelyTab: (pacmtoken?: string) => Promise<{
|
|
1059
|
+
data: any;
|
|
1060
|
+
newPacmToken: string | undefined;
|
|
1061
|
+
}>;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* 获取畅听歌曲
|
|
1065
|
+
* @param pacmtoken 必填-登录凭证
|
|
1066
|
+
* @param modelId 可选-模型ID,默认701000(默认模式)
|
|
1067
|
+
* @returns 5个推荐歌曲
|
|
1068
|
+
*/
|
|
1069
|
+
declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Promise<{
|
|
1070
|
+
data: {
|
|
1071
|
+
success: boolean;
|
|
1072
|
+
code: string;
|
|
1073
|
+
info: string;
|
|
1074
|
+
};
|
|
1075
|
+
newPacmToken: undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
data: any;
|
|
1078
|
+
newPacmToken: string;
|
|
1079
|
+
}>;
|
|
1080
|
+
|
|
1031
1081
|
/**
|
|
1032
1082
|
* modules 子目录统一入口
|
|
1033
1083
|
* 汇总导出所有 API 函数
|
|
@@ -1049,6 +1099,7 @@ declare const api_getAiBeanCount: typeof getAiBeanCount;
|
|
|
1049
1099
|
declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
|
|
1050
1100
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
1051
1101
|
declare const api_getAlbumSong: typeof getAlbumSong;
|
|
1102
|
+
declare const api_getCloudDLUrl: typeof getCloudDLUrl;
|
|
1052
1103
|
declare const api_getCloudUploadUrl: typeof getCloudUploadUrl;
|
|
1053
1104
|
declare const api_getCloudUrl: typeof getCloudUrl;
|
|
1054
1105
|
declare const api_getColumnInfo: typeof getColumnInfo;
|
|
@@ -1064,6 +1115,8 @@ declare const api_getFollowerList: typeof getFollowerList;
|
|
|
1064
1115
|
declare const api_getFollowingList: typeof getFollowingList;
|
|
1065
1116
|
declare const api_getFollowingVra: typeof getFollowingVra;
|
|
1066
1117
|
declare const api_getInteractionMsg: typeof getInteractionMsg;
|
|
1118
|
+
declare const api_getListenFreelySongs: typeof getListenFreelySongs;
|
|
1119
|
+
declare const api_getListenFreelyTab: typeof getListenFreelyTab;
|
|
1067
1120
|
declare const api_getListenRank: typeof getListenRank;
|
|
1068
1121
|
declare const api_getLyric: typeof getLyric;
|
|
1069
1122
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
@@ -1123,6 +1176,7 @@ declare const api_getUserHeader: typeof getUserHeader;
|
|
|
1123
1176
|
declare const api_getUserHeartthrob: typeof getUserHeartthrob;
|
|
1124
1177
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
1125
1178
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
1179
|
+
declare const api_getUserPhoneInfo: typeof getUserPhoneInfo;
|
|
1126
1180
|
declare const api_getUserSongPage: typeof getUserSongPage;
|
|
1127
1181
|
declare const api_getVersion: typeof getVersion;
|
|
1128
1182
|
declare const api_getVipPlaylist: typeof getVipPlaylist;
|
|
@@ -1157,7 +1211,7 @@ declare const api_shareVideo: typeof shareVideo;
|
|
|
1157
1211
|
declare const api_signAiBean: typeof signAiBean;
|
|
1158
1212
|
declare const api_signNinan: typeof signNinan;
|
|
1159
1213
|
declare namespace api {
|
|
1160
|
-
export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
|
|
1214
|
+
export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
|
|
1161
1215
|
}
|
|
1162
1216
|
|
|
1163
1217
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
@@ -1237,4 +1291,4 @@ declare function createClient(): ExpandedApi<typeof api>;
|
|
|
1237
1291
|
/** 客户端类型 */
|
|
1238
1292
|
type MiguClient = ReturnType<typeof createClient>;
|
|
1239
1293
|
|
|
1240
|
-
export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
|
|
1294
|
+
export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(modules_exports, {
|
|
|
23
23
|
getAiBeanSignStatus: () => getAiBeanSignStatus,
|
|
24
24
|
getAlbumInfo: () => getAlbumInfo,
|
|
25
25
|
getAlbumSong: () => getAlbumSong,
|
|
26
|
+
getCloudDLUrl: () => getCloudDLUrl,
|
|
26
27
|
getCloudUploadUrl: () => getCloudUploadUrl,
|
|
27
28
|
getCloudUrl: () => getCloudUrl,
|
|
28
29
|
getColumnInfo: () => getColumnInfo,
|
|
@@ -38,6 +39,8 @@ __export(modules_exports, {
|
|
|
38
39
|
getFollowingList: () => getFollowingList,
|
|
39
40
|
getFollowingVra: () => getFollowingVra,
|
|
40
41
|
getInteractionMsg: () => getInteractionMsg,
|
|
42
|
+
getListenFreelySongs: () => getListenFreelySongs,
|
|
43
|
+
getListenFreelyTab: () => getListenFreelyTab,
|
|
41
44
|
getListenRank: () => getListenRank,
|
|
42
45
|
getLyric: () => getLyric,
|
|
43
46
|
getMVRecommend: () => getMVRecommend,
|
|
@@ -97,6 +100,7 @@ __export(modules_exports, {
|
|
|
97
100
|
getUserHeartthrob: () => getUserHeartthrob,
|
|
98
101
|
getUserHomePage: () => getUserHomePage,
|
|
99
102
|
getUserMyList: () => getUserMyList,
|
|
103
|
+
getUserPhoneInfo: () => getUserPhoneInfo,
|
|
100
104
|
getUserSongPage: () => getUserSongPage,
|
|
101
105
|
getVersion: () => getVersion,
|
|
102
106
|
getVipPlaylist: () => getVipPlaylist,
|
|
@@ -2154,6 +2158,49 @@ var redeemAiBean = async (pacmtoken) => {
|
|
|
2154
2158
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
2155
2159
|
};
|
|
2156
2160
|
|
|
2161
|
+
// src/modules/cloud_dl.ts
|
|
2162
|
+
var getCloudDLUrl = async (pacmtoken, contentId, toneFlag = "PQ") => {
|
|
2163
|
+
const { data, cookies } = await ckfetch("https://app.c.nf.migu.cn/MIGUM3.0/strategy/cloud/download-url/v1.0", {
|
|
2164
|
+
cookie: { pacmtoken },
|
|
2165
|
+
headers: { "channel": "0146931", "version": "7.41.13" },
|
|
2166
|
+
params: {
|
|
2167
|
+
contentId,
|
|
2168
|
+
"formatType": toneFlag,
|
|
2169
|
+
"type": "0"
|
|
2170
|
+
}
|
|
2171
|
+
});
|
|
2172
|
+
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
2173
|
+
};
|
|
2174
|
+
|
|
2175
|
+
// src/modules/user_phoneInfo.ts
|
|
2176
|
+
var getUserPhoneInfo = async (pacmtoken) => {
|
|
2177
|
+
const { data, cookies } = await ckfetch("https://app.c.nf.migu.cn/MIGUM2.0/v1.0/tone/isrbtuser.do", {
|
|
2178
|
+
cookie: { pacmtoken },
|
|
2179
|
+
headers: {
|
|
2180
|
+
"channel": "0146921",
|
|
2181
|
+
"version": "8.8.0"
|
|
2182
|
+
}
|
|
2183
|
+
});
|
|
2184
|
+
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
// src/modules/recommend_listenFreely_tab.ts
|
|
2188
|
+
var getListenFreelyTab = async (pacmtoken = "") => {
|
|
2189
|
+
const { data, cookies } = await ckfetch(`https://app.c.nf.migu.cn/bmw/page/view/listen-freely/v1.0`, {
|
|
2190
|
+
cookie: pacmtoken ? { pacmtoken } : void 0
|
|
2191
|
+
});
|
|
2192
|
+
return { data, newPacmToken: cookies.pacmtoken || void 0 };
|
|
2193
|
+
};
|
|
2194
|
+
|
|
2195
|
+
// src/modules/recommend_listenFreely.ts
|
|
2196
|
+
var getListenFreelySongs = async (pacmtoken, modelId = "701000") => {
|
|
2197
|
+
if (!pacmtoken) return { data: { success: false, code: "290001", info: "\u8BF7\u5148\u767B\u5F55" }, newPacmToken: void 0 };
|
|
2198
|
+
const { data, cookies } = await ckfetch(`http://app.c.nf.migu.cn/resource-dataloader/recommend/listen-freely/v2.0?modelId=${modelId}`, {
|
|
2199
|
+
cookie: { pacmtoken }
|
|
2200
|
+
});
|
|
2201
|
+
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2157
2204
|
// src/utils/index.ts
|
|
2158
2205
|
var utils_exports = {};
|
|
2159
2206
|
__export(utils_exports, {
|
|
@@ -2224,6 +2271,7 @@ export {
|
|
|
2224
2271
|
getAiBeanSignStatus,
|
|
2225
2272
|
getAlbumInfo,
|
|
2226
2273
|
getAlbumSong,
|
|
2274
|
+
getCloudDLUrl,
|
|
2227
2275
|
getCloudUploadUrl,
|
|
2228
2276
|
getCloudUrl,
|
|
2229
2277
|
getColumnInfo,
|
|
@@ -2240,6 +2288,8 @@ export {
|
|
|
2240
2288
|
getFollowingList,
|
|
2241
2289
|
getFollowingVra,
|
|
2242
2290
|
getInteractionMsg,
|
|
2291
|
+
getListenFreelySongs,
|
|
2292
|
+
getListenFreelyTab,
|
|
2243
2293
|
getListenRank,
|
|
2244
2294
|
getLyric,
|
|
2245
2295
|
getMVRecommend,
|
|
@@ -2302,6 +2352,7 @@ export {
|
|
|
2302
2352
|
getUserHeartthrob,
|
|
2303
2353
|
getUserHomePage,
|
|
2304
2354
|
getUserMyList,
|
|
2355
|
+
getUserPhoneInfo,
|
|
2305
2356
|
getUserSongPage,
|
|
2306
2357
|
getVersion,
|
|
2307
2358
|
getVipPlaylist,
|