| | |
| | | case privacy = 2 |
| | | case other = 4 |
| | | case matchStore = 5 |
| | | case useStore = 6 |
| | | |
| | | var titleStr:String{ |
| | | switch self{ |
| | |
| | | case .user:return "用户协议" |
| | | case .matchStore:return "参与门店" |
| | | case .other:return "" |
| | | case .useStore:return "可用门店" |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | enum HomeItemType:Int,HandyJSONEnum{ |
| | | case none = 0 |
| | | ///报名玩湃课程 |
| | | ///报名玩湃运动营 |
| | | case course = 1 |
| | | ///预约场地 |
| | | case booking = 2 |
| | |
| | | case activity = 3 |
| | | ///免费福利 |
| | | case welfare = 4 |
| | | ///线上课程积分 |
| | | ///线上运动营积分 |
| | | case coin = 5 |
| | | ///购买优惠门票 |
| | | case ticket = 6 |
| | |
| | | switch self { |
| | | case .goods:return "实物" |
| | | case .coupon:return "优惠券" |
| | | case .course:return "课程" |
| | | case .course:return "运动营" |
| | | case .ticket:return "门票" |
| | | } |
| | | } |
| | |
| | | |
| | | enum ScanType:Int{ |
| | | case games = 1000 //游戏 |
| | | case course = 1001 //课程 |
| | | case course = 1001 //运动营 |
| | | case yard = 1002 //场地 |
| | | } |