Browse Source

修改注册/登录协议

neo 2 years ago
parent
commit
4fd9f12c2f
1 changed files with 2 additions and 72 deletions
  1. 2 72
      proto-lib/proto_http.lua

+ 2 - 72
proto-lib/proto_http.lua

@@ -15,11 +15,7 @@ local proto_c2s =
15 15
                 appVerison 7: string        # 对内版本号
16 16
                 uuid 8: string              # UUID
17 17
                 udid 9: string              # UDID
18
-                region 10: string           # 省份
19
-                city 11: string             # 城市
20
-                location 12: string         # 经纬度(格式:经度在前,纬度在后,经纬度间以“,”分割)
21
-                sysVer 13: string           # 设备信息
22
-                openId 14: string           # 第三方登陆信息
18
+                sysVer 10: string           # 设备信息
23 19
             }
24 20
             response {
25 21
                 code 0: integer
@@ -34,11 +30,6 @@ local proto_c2s =
34 30
                 wsPort 9: integer           # websocket连接端口
35 31
                 uuid 10: string             # UUID
36 32
                 configVersion 11: string    # configVersion
37
-                grayTestTime 12: integer    # 灰度测试开始时间
38
-                inWhiteList 13: boolean     # 是否在白名单内
39
-                freezeEndTime 14: integer   # 封号结束时间
40
-                bannedEndTime 15: integer   # 禁言结束时间
41
-                isBanding 16: boolean       # 是否绑定账号
42 33
             }
43 34
         }
44 35
 
@@ -55,14 +46,7 @@ local proto_c2s =
55 46
                 platform 8: string          # 登录平台
56 47
                 udid 9: string              # UDID
57 48
                 appVerison 10: string       # 对内版本号
58
-                idfa 11: string             # 广告标签
59
-                region 12: string           # 省份
60
-                city 13: string             # 城市
61
-                location 14: string         # 经纬度(格式:经度在前,纬度在后,经纬度间以“,”分割)
62
-                deviceId 15: string         # 设备号
63
-                xwId 16: string             # 闲玩ID(备用)
64
-                openId 17: string           # 第三方登陆信息
65
-                isSdk 18: boolean           # 是否sdk注册
49
+                deviceId 11: string         # 设备号
66 50
             }
67 51
             response {
68 52
                 code 0: integer
@@ -79,60 +63,6 @@ local proto_c2s =
79 63
                 wsPort 11: integer          # websocket连接端口
80 64
                 uuid 12: string             # UUID
81 65
                 configVersion 13: string    # configVersion
82
-                grayTestTime 14: integer    # 灰度测试开始时间
83
-                inWhiteList 15: boolean     # 是否在白名单内
84
-                freezeEndTime 16: integer   # 封号结束时间
85
-                bannedEndTime 17: integer   # 禁言结束时间
86
-                isBanding 18: boolean       # 是否绑定账号
87
-            }
88
-        }
89
-
90
-        #账号注册
91
-        usr_account_register 1002 {
92
-            request {
93
-                version 1: string           # 版本号
94
-                uuid 2: string              # UUID
95
-                device 3: string            # 设备名称
96
-                sysVer 4: string            # 设备信息
97
-                channel 5: integer          # 渠道号
98
-                apn 6: string               # 玩家网络状态
99
-                operator 7: string          # 运营商类型字段
100
-                platform 8: string          # 登录平台
101
-                udid 9: string              # UDID
102
-                appVerison 10: string       # 对内版本号
103
-                idfa 11: string             # 广告标签
104
-                region 12: string           # 省份
105
-                city 13: string             # 城市
106
-                location 14: string         # 经纬度(格式:经度在前,纬度在后,经纬度间以“,”分割)
107
-                deviceId 15: string         # 设备号
108
-                xwId 16: string             # 闲玩ID(备用)
109
-
110
-                account 17: string          # 账号
111
-                password 18: string         # 密码
112
-                jmName 19: string           # 实名
113
-                jmCard 20: string           # 身份证号
114
-                jmBirthDate 21: string      # 嘉米出生年月日格式 ‘20060601’
115
-                chBirthDate 22: string      # 渠道出生年月日格式 ‘20060601’
116
-            }
117
-            response {
118
-                code 0: integer
119
-                uid 1: integer              # 账号ID
120
-                password 2: string          # 密码
121
-            }
122
-        }
123
-
124
-        #登录
125
-        usr_account_login 1003 {
126
-            request {
127
-                account 0: string          # 账号
128
-                accountPassword 1: string  # 账号密码
129
-            }
130
-            response {
131
-                code 0: integer
132
-                uid 1: integer              # 账号ID
133
-                password 2: string          # 密码
134
-                jmName 3: string            # 实名
135
-                jmCard 4: string            # 身份证号
136 66
             }
137 67
         }
138 68
 ]]