Commit 18778790e51409d56c580d6c03b9817d5ddb83c9
1 parent
d516609f
doc
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,15 @@ | @@ -0,0 +1,15 @@ | ||
1 | + | ||
2 | +## 注册 & 登录流程 | ||
3 | +``` | ||
4 | +accountServer | ||
5 | + | ||
6 | +rpc RegisterHandler | ||
7 | +rpc CreateTokenHandler | ||
8 | + | ||
9 | +gameServer | ||
10 | +rpc LoginHandler | ||
11 | +rpc CreateRoleHandler | ||
12 | +``` | ||
13 | +1. Account服务注册账号 | ||
14 | +2. Account服务createToken | ||
15 | +3. Game服务登录,判断角色是否创建, 未创建角色则创建,返回角色信息 | ||
0 | \ No newline at end of file | 16 | \ No newline at end of file |