杨锴
2024-09-10 1554b451f66120d81693eb722875e49a7e9a4186
XQMuse/Config/Enums/Enums.swift
@@ -8,6 +8,11 @@
import Foundation
import HandyJSON
enum PlayMode:Int,Decodable,Encodable{
            case singleLoop = 0 //单曲
            case line = 1 //顺序播放
}
enum GenderType:Int,HandyJSONEnum{
            case none = 0
            case  man = 1
@@ -24,3 +29,16 @@
            case vipFree = 2 //会员免费
            case payment = 3 // 需支付
}
enum ConditionType:Int,HandyJSONEnum{
            case yes = 1
            case no = 2
            mutating func troggle(){
                        if self == .no{
                                    self = .yes
                        }else{
                                    self = .no
                        }
            }
}