Commit 6e05960ca22707faba564ded92eb3eea108d7d51
1 parent
0733350b79
Exists in
master
修改用户验证接口
Showing 1 changed file with 39 additions and 0 deletions Inline Diff
ServerDocument.md
| 1 | GumpTech服务端接口文档 | ||
| 2 | |||
| 3 | 1. 用户登录验证接口 | ||
| 4 | ---------------------------- | ||
| 5 | 接口地址:sdk.letsgame.mobi/v1/user/verify_user.do | ||
| 6 | 参数: | ||
| 7 | appId: | ||
| 8 | appkey: 注意appkey都为小写字母 | ||
| 9 | userId: | ||
| 10 | sessionKey: | ||
| 11 | |||
| 12 | 返回值: | ||
| 13 | { | ||
| 14 | "code":100000 | ||
| 15 | "msg":"xxxxxx" | ||
| 16 | "data":{ | ||
| 17 | "userId":23444 | ||
| 18 | "sessionKey":"xxx" | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | 2. 充值通知第三方服务端接口 | ||
| 25 | ----------------------------- | ||
| 26 | 参数列表: | ||
| 27 | orderId: 订单id | ||
| 28 | appId: 游戏接入分配appid | ||
| 29 | userId: 平台用户id | ||
| 30 | product: 购买商品名字 | ||
| 31 | extraInfo:游戏接入方传入自定义参数,200字符,页面支付值为:web_pay:[serverId]_[roleName] | ||
| 32 | currency:币种 exp:USD RMB | ||
| 33 | amount:支付过程中选中额度,第三方可以忽略此参数 | ||
| 34 | realAmount: 最终用户支付的额度 | ||
| 35 | sig: 签名 | ||
| 36 | |||
| 37 | |||
| 38 | 第三方server端返回值: | ||
| 39 | 如果第三方验证成功,则返回字符串:success即可。 |