Commit f725ea29c1806f14c15502406a83b4269193f76b
1 parent
32543f8c
udpate
Showing
3 changed files
with
3 additions
and
8 deletions
Show diff stats
account.proto
doc/login.md
... | ... | @@ -70,7 +70,7 @@ $ curl --request POST 'http://192.168.0.206:8080/v1/login' \ |
70 | 70 | ``` |
71 | 71 | 返回结果: |
72 | 72 | ```shell |
73 | -{"code":0, "message":"success", "data":{"phone":"", "uid":"","password":""}} | |
73 | +{"code":0,"data":{"token":"141815055745814528"},"message":"success"} | |
74 | 74 | ``` |
75 | 75 | * code = 0, 成功,客户端解析data字段就行 |
76 | 76 | * code !=0, 失败, message字段是提示信息 | ... | ... |
game.proto