mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
Merge branch 'master' of https://github.com/qier222/YesPlayMusic
This commit is contained in:
commit
c75c69432a
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ export function isTrackPlayable(track) {
|
||||||
playable: true,
|
playable: true,
|
||||||
reason: "",
|
reason: "",
|
||||||
};
|
};
|
||||||
|
// cloud storage judgement logic
|
||||||
|
if (isAccountLoggedIn() && track?.privilege?.cs) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
if (track.fee === 1 || track.privilege?.fee === 1) {
|
if (track.fee === 1 || track.privilege?.fee === 1) {
|
||||||
if (isAccountLoggedIn() && store.state.data.user.vipType === 11) {
|
if (isAccountLoggedIn() && store.state.data.user.vipType === 11) {
|
||||||
result.playable = true;
|
result.playable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue