diff --git a/ServerDocument.md b/ServerDocument.md index e69de29..4eb5c29 100644 --- a/ServerDocument.md +++ b/ServerDocument.md @@ -0,0 +1,39 @@ +GumpTech服务端接口文档 + +1. 用户登录验证接口 +---------------------------- + 接口地址:sdk.letsgame.mobi/v1/user/verify_user.do + 参数: + appId: + appkey: 注意appkey都为小写字母 + userId: + sessionKey: + + 返回值: + { + "code":100000 + "msg":"xxxxxx" + "data":{ + "userId":23444 + "sessionKey":"xxx" + } + } + + + +2. 充值通知第三方服务端接口 +----------------------------- + 参数列表: + orderId: 订单id + appId: 游戏接入分配appid + userId: 平台用户id + product: 购买商品名字 + extraInfo:游戏接入方传入自定义参数,200字符,页面支付值为:web_pay:[serverId]_[roleName] + currency:币种 exp:USD RMB + amount:支付过程中选中额度,第三方可以忽略此参数 + realAmount: 最终用户支付的额度 + sig: 签名 + + + 第三方server端返回值: + 如果第三方验证成功,则返回字符串:success即可。 \ No newline at end of file