Commit a45abd9d21084e5ebdea917017f406b20a6f532e
1 parent
7068819c59
Exists in
master
init
Showing 1 changed file with 14 additions and 5 deletions Side-by-side Diff
webpay.md
| 1 | 1 | GumpTech页面支付 |
| 2 | 2 | ----------------------- |
| 3 | 3 | |
| 4 | -使用方式: | |
| 4 | +接入使用方式: | |
| 5 | 5 | ----------------------- |
| 6 | 6 | 请使用iframe方式嵌套GumpTech支付地址: |
| 7 | 7 | |
| ... | ... | @@ -18,9 +18,18 @@ GumpTech页面支付 |
| 18 | 18 | ] |
| 19 | 19 | |
| 20 | 20 | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 21 | +第三方查询角色接口 | |
| 22 | +------------------------- | |
| 23 | + 在接入中传入queryRoleUrl参数,即第三方查询角色接口 | |
| 24 | + GumpTech调用过程如下: | |
| 25 | + 请求接口:传入queryRoleUrl的值 | |
| 26 | + 参数: | |
| 27 | + serverId servers参数json中的serverId的值 | |
| 28 | + roleName 用户填入的角色名字 | |
| 29 | + 返回值: | |
| 30 | + { | |
| 31 | + "userId":5104 | |
| 32 | + } | |
| 33 | + userId为GumpTech平台的用户id | |
| 24 | 34 | |
| 25 | 35 | |
| 26 | -http://devsdk.letsgame.mobi/v1/pay/mol_web.do?appId=100&queryRoleUrl=http://devsdk.letsgame.mobi/v1/user/query_role.do&servers=[{%22serverId%22:%22s2%22,%20%22serverName%22:%22%E6%B5%8B%E8%AF%951%22},{%22serverId%22:%22s2%22,%20%22serverName%22:%22%E6%B5%8B%E8%AF%952%22}] | |
| 27 | 36 | \ No newline at end of file |