杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
//  Types.swift
//  XQMuse
//
//  Created by 无故事王国 on 2024/9/4.
//
 
import Foundation
import HandyJSON
 
enum LoginType{
                case pwd,code
}
 
enum ThreePlantformLoginType:Int{
    case wechat = 1
    case apple = 2
}
 
enum AgreementType:Int,HandyJSONEnum{
                case none = 0
                ///用户协议
                case user = 1
                ///隐私协议
                case privacy = 2
                /// 关于我们
                case aboutUs = 3
                /// 新手指南
                case guide = 4
                /// 课程/冥想
                case course = 5
                /// 树苗规则
                case treeRule = 6
}
 
 
enum SendCodeType:Int,HandyJSONEnum{
                //注册
                case register = 1
                ///验证码登录
                case codeLogin = 2
                ///找回密码
                case forgetPwd = 3
                ///第三方登录后验证手机
                case threePlantform = 4
                /// 切换手机
                case exchangePhone = 5
                /// 添加银行卡
                case addBank = 6
}