更新日期:2025年 01月 16日海外版PC游戏Web接入文档
<h3 style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:16px;">一、前言</span>
</h3>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<span style="font-size:14px;line-height:24px;"> 本文档用于引导技术人员进行PC游戏接入,阅读者需具备一定web基础。</span>
</p>
<p style="white-space:normal;">
<span style="font-size:14px;line-height:24px;"> 通信时SDK均采用UTF8编码,若游戏使用其他编码,在处理中文时需转为UTF8。</span>
</p>
<p style="white-space:normal;">
<span style="font-size:14px;line-height:24px;"> 调用接口的凭证为openId和openKey,由SDK后台分配,需自行前往创建,功能位于”平台管理/开放平台“</span>
</p>
<p style="white-space:normal;">
<span style="font-size:14px;line-height:22px;"> 对于PC游戏,SDK提供了多种集成方式,具体可见文档:</span><a href="https://www.quicksdk.com/doc-1109.html?cid=48" target="_blank"><span style="font-size:14px;">PC游戏接入方式说明</span></a>
</p>
<p style="white-space:normal;">
<span style="font-size:14px;line-height:24px;"> 本文档讲解上述第1种接入方式,即使用SDK提供的web界面基于OAuth协议进行授权认证</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h3 style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:16px;">二、流程说明</span>
</h3>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">1.</span><span style="margin:0px;padding:0px;white-space:pre;"> 登录流程</span>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 1.获取openId及openKey,获取方式可联系运营人员或自行通过SDK后台添加。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 2.按第三章第1点“构造登录链接”接口所需要的参数构造登录URL,并传入成功后的回调URL successUrl参数。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 3.游戏以webview打开构造好的登录界面,并监听UrlChange事件(这个 步骤各个开发语言略有不同,Demo是基于QT的可以参考)</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 4.当监听到webview的URL跳转至successUrl时,游戏应关闭webview界面,从URL中解析GET参数,获取uid、authToken、username参数</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 5.游戏客户端获取到uid和username后,不能直接使用,需传回游戏服务器,通过游戏服务器调用SDK验证接口验证authToken有效性,验证uid是否匹配</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 6.游戏服务器调用authToken验证接口通过后,方可使用该uid匹配游戏角色并进入游戏。</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">2.</span><span style="margin:0px;padding:0px;white-space:pre;"> 支付流程</span>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 1.玩家在游戏内点击道具购买后,游戏应调用第三章“支付下单接口”传入商品信息等参数,此接口会返回支付链接。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 2.以webview或使用默认浏览器打开该支付链接。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 3.玩家支付成功后,SDK将向游戏服务器发送成功通知(支付回调地址callbackUrl)。</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h3 style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:16px;">三、接口列表</span>
</h3>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;margin:0px;padding:0px;color:#323232;">
<strong><span style="margin:0px;padding:0px;white-space:pre;">1. 构造登录链接</span></strong>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="font-size:medium;white-space:normal;">
<span style="font-size:14px;">1.1 接口目的</span>
</p>
<p style="font-size:medium;white-space:normal;">
<span style="font-size:14px;"><br />
</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 构造登录链接,以便在PC平台中使用webview加载登录界面。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 若游戏使用专属登陆器,可尝试从进程启动参数中获取authToken,若取到authToken,可略过此步骤,直接前往本章2接口验证authToken并免登录进入游戏。</span>
</p>
<p style="font-size:medium;white-space:normal;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">1.2</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">接口地址</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<br />
</p>
<p style="white-space:normal;">
<span style="font-size:14px;">http://xxx.com/openapi/oauth (xxx.com为域名,请联系贵方运营获取,获取之后替换即可)</span><span style="font-size:14px;"></span>
</p>
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">1.3 </span><span style="margin:0px;padding:0px;">请求方式</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"> GET</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">1.4</span><span style="white-space:pre-wrap;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;"> </span><span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">参数列表</span>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="font-family:""><span style="line-height:2;"> </span><span>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;"> 参数</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">类型</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">必要性</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;"><span>说明</span></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="white-space:normal;font-size:14px;"> openId</span><span style="font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="white-space:normal;font-size:14px;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> <span style="white-space:normal;font-size:14px;">必传</span><span style="font-size:14px;"></span></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="white-space:normal;font-size:14px;"> 开放平台开发者身份id,由SDK分配,可通过后台获取</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="white-space:normal;font-size:14px;"> productCode</span><span style="font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="white-space:normal;font-size:14px;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> <span style="font-size:14px;">必传</span><span style="font-size:14px;"></span></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-size:14px;"> 产品标识,由SDK分配,可通过后台获取</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> channelCode</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 分包标识,可选。用于识别玩家来源</span><span style="font-size:14px;line-height:2;"></span></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> successUrl</span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="white-space:normal;font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 完成登录后的回调地址(此地址由研发自行提供)</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> cancelUrl</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 可选</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 点击关闭按钮时,将跳转至此URL,游戏可捕捉该UrlChange事件</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> noQrLogin</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 可选</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 传1时关闭扫码登录</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> stopClose</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 可选</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 传1时禁用关闭按钮</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> lang</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 可选</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;line-height:2;"> 多语言,支持zh、zh-TW、en</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> theme</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 可选</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 窗口风格参数,共有模板可选web,gameLauncher,android,dark</span><span style="font-size:14px;line-height:2;"></span><br />
</td>
</tr>
</tbody>
</table>
</span></span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="font-family:""> </span><span style="font-family:""> </span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;"> 注:登录页通常会100%铺满webview的尺寸,故游戏的webview多大,授权网页将等同其大小。<br />
游戏可自定义webview尺寸。<br />
作为建议,我们建议不同theme的尺寸如下:<br />
默认模板:440x540 (theme不传值则使用默认模板)<br />
web风格:470x475 <br />
androrid风格:470x535<br />
gameLaucher风格:510x460<br />
dark风格:470x510 (注意,若使用dark风格,建议将webview设为透明状态以提高显示效果)<br />
</span>
</p>
<div>
<br />
</div>
<p>
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">1.5</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">返回字段</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="font-size:medium;white-space:normal;line-height:24px;">
<span style="font-size:14px;line-height:2;"> 当玩家登录完成,SDK会跳转时传入的successUrl链接。同时附带uid、username、authToken参数。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;line-height:2;"> 游戏客户端应监听URLChange并关闭webview同时解析GET参数,获取这几项参数。</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<span style="font-size:14px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;">参数</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-size:14px;line-height:2;"> uid</span>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 玩家身份唯一标识,游戏应以此匹配玩家角色</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-size:14px;line-height:2;"> username</span>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 玩家用户名,游戏可以记录,但需以uid作为唯一标识</span>
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> authToken</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> string</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必有</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 授权令牌,游戏服务器应调用授权验证接口,验证authToken和uid是否匹配</span><br />
</td>
</tr>
</tbody>
</table>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;margin:0px;padding:0px;color:#323232;">
<strong><span style="margin:0px;padding:0px;white-space:pre;line-height:2;">2. 验证uid及authToken</span></strong>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">2.1</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">接口目的</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;"> 验证客户端获取的uid和authToken是否匹配,防止篡改。</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">2.2</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">接口地址</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;"><span style="line-height:2;"> http://xxx.com/webOpen/checkToken</span></span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">2.3</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">请求方式</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;"> POST</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">2.4</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">参数列表</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> openId</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 开放平台开发者身份id,由Quick官方SDK分配</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> productCode</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 产品CODE,在Quick官方SDK后台获取</span>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> channelCode</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 选传</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> cps</span><span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;"><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">分包标识,选传,不传系统默认</span><span lang="EN-US" style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">website,如果是用登录器登录的,可以通过启动参数获取</span></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-size:14px;line-height:2;"> authToken</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> <span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;">string</span></span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-size:14px;line-height:2;"> 登录成功回传的authToken</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> sign</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> st</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ring</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 签名串,算法详见第4章签名方法描述</span>
</td>
</tr>
</tbody>
</table>
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;">2.5</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;line-height:2;">返回字段</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;line-height:2;"> 接口会返回JSON格式字符串,如:</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;line-height:2;"> 例1 {"status":false,"message":"tokenUidError",”data”:[]}</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;"> 例2 {"status":true,"message":"","data":[]}</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<div style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;margin:0px;padding:0px;border-spacing:0px;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 类型</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 说明</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> sta</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">tus</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> b</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ool</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 接口验证状态,若通过验证为true,否则为false</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> message</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> stri</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ng</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> Status为false时,message有值,为错误提示语</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> data</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> a</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">rray</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">可为空</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="line-height:2;"></span><span style="line-height:2;"> 如果status为true时,data</span><span style="line-height:2;">数组包含了用户账号信息</span></span>
</td>
</tr>
</tbody>
</table>
<br />
</div>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<p style="white-space:normal;margin-top:0px;margin-bottom:0px;font-size:14px;line-height:24px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:2;"> 注:以下参数只有当status为true且data不为空才有</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td background-color:#cccccc;"="" style="line-height: 30px; font-family: 微软雅黑, "Microsoft YaHei", Arial, "Apple LiGothic Medium", SimHei, "ST Heiti"; height: 30px; padding: 0px; margin: 0px;"><span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span><br />
</td>
<td background-color:#cccccc;"="" style="line-height: 30px; font-family: 微软雅黑, "Microsoft YaHei", Arial, "Apple LiGothic Medium", SimHei, "ST Heiti"; height: 30px; padding: 0px; margin: 0px;"><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span><br />
</td>
<td background-color:#cccccc;"="" style="line-height: 30px; font-family: 微软雅黑, "Microsoft YaHei", Arial, "Apple LiGothic Medium", SimHei, "ST Heiti"; height: 30px; padding: 0px; margin: 0px;"><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span><br />
</td>
<td background-color:#cccccc;"="" style="line-height: 30px; font-family: 微软雅黑, "Microsoft YaHei", Arial, "Apple LiGothic Medium", SimHei, "ST Heiti"; height: 30px; padding: 0px; margin: 0px;"><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;"></span><span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> uid</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> int</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 必有</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;"><span lang="EN-US" style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;"> SDK</span><span style="font-family:微软雅黑, "margin:0px;padding:0px;"><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">用户</span><span lang="EN-US" style="margin:0px;padding:0px;font-size:14px;line-height:2;">uid</span></span></span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;"><span style="font-size:14px;line-height:2;"> de</span><span style="font-size:14px;line-height:2;">viceId</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> string</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> 必有</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 设备信息设备号</span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> productId</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> string</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> 必有</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 产品id</span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> tokenIp</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> string</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, sans-serif;font-size:14px;line-height:2;"> 必有</span><br />
</td>
<td>
<span style="white-space:normal;font-family:"font-size:14px;line-height:2;"> ip</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> token</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> string</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必有</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> token</span><br />
</td>
</tr>
</tbody>
</table>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;margin:0px;padding:0px;color:#323232;">
<strong><span style="margin:0px;padding:0px;white-space:pre;">3. 创建订单并构造支付链接</span></strong>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">3.1</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">接口目的</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;font-size:medium;white-space:pre;"> 通过此接口传入下单数据,下单成功后可返回进入支付的连接。</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">3.2</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">接口地址</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;"> <span style="font-size:14px;"> </span></span><span style="font-size:14px;">http://xxx.com/webOpen/getPayUrl</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">3.3</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">请求方式</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"> POST</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">3.4</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">参数列表</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;height:25%;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> <span style="font-size:14px;">参数</span></span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> openId</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 开放平台开发者身份id,由Quick官方SDK分配</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> productCode</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 产品CODE,在Quick官方SDK后台获取</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> channelCode</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 选传</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> cps</span><span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;"><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">分包标识,选传,不传系统默认</span><span lang="EN-US" style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;"><span style="font-size:14px;line-height:2;">website,</span><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;">如果是用登录器登录的,可以通过启动参数获取</span></span></span>
</p>
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> amount</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> float</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 将要下单的金额,单位 美元</span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;"><span style="font-size:14px;line-height:2;"> use</span><span style="font-size:14px;line-height:2;">rId</span></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;"><span style="font-size:14px;line-height:2;"> strin</span><span style="font-size:14px;line-height:2;">g</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:"margin:0px;padding:0px;font-size:14px;line-height:2;"> sdk登录成功返回的uid</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> cpOrderNo</span><span style="margin:0px;padding:0px;white-space:pre;"> </span></span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="white-space:pre;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 游戏</span></span><span style="font-size:14px;line-height:2;">订单号</span></span>
</p>
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> orderSubject</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"><span style="font-size:14px;"> str</span><span style="font-size:14px;">ing</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 商品描述</span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> goodsName</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 商品名称</span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;"> </span><span style="font-size:14px;">goodsId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"> </span><span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;height:30px;font-size:14px;line-height:2;">string</span><span style="font-family:微软雅黑, "margin:0px;padding:0px;height:30px;white-space:pre;"> </span>
</td>
<td>
<span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">必传</span>
</td>
<td>
<span style="white-space:normal;font-size:14px;"> 商品名id<span style="line-height:1.5;"><span style="line-height:2;"></span></span></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> rol</span><span style="white-space:normal;font-size:14px;"></span><span style="white-space:normal;font-size:14px;"></span><span style="white-space:normal;font-size:14px;"></span><span style="white-space:normal;font-size:14px;line-height:2;">eNam<span style="font-size:14px;">e</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 角色名</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> roleLevel</span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> float</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 角色等级</span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> serverId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 区服id</span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> serverName</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 区服名称</span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;"> </span><span style="font-size:14px;">clientLang</span>
</td>
<td>
<span style="font-size:14px;"> </span><span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;height:30px;font-size:14px;line-height:2;">string</span><span style="font-family:微软雅黑, "margin:0px;padding:0px;height:30px;white-space:pre;"> </span>
</td>
<td>
<span style="font-size:14px;"> </span><span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;">必传</span>
</td>
<td>
<span style="line-height:2;"><span style="font-size:14px;"> 支</span><span style="font-size:14px;">付中心语言包,填写地区语言代码,如en-US。默认为中文繁体</span><span style="font-size:14px;"></span></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> extrasParams</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> 透传参数,通常为研发需要的特定参数,sdk会原样回调。</span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> callbackUrl</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 支付成功回调结果的地址</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> sign</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"><span style="font-size:14px;"> 签名串,算法详见第4章签名方法描</span>述</span>
</p>
</td>
</tr>
</tbody>
</table>
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">3.5</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">返回字段</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;"> 接口会返回JSON格式字符串,如:</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;line-height:24px;"> 例1 {"status":false,"message":"tokenUidError",”data”:[]}</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:24px;"> 例2 {"status":true,"message":"","data":[]}</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 类型</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="line-height:2;"> 说明</span></span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> sta</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">tus</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> b</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ool</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 接口验证状态,若通过验证为true,否则为false</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> message</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> stri</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ng</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> Status为false时,message有值,为错误提示语</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> data</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> a</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">rray</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">可为空</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 如果status为true时,data数组包含了订单详细信息</span>
</p>
</td>
</tr>
</tbody>
</table>
<p style="font-size:medium;white-space:normal;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:small;"></span>
</p>
<p style="font-size:medium;white-space:normal;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;"><br />
</span>
</p>
<p style="font-size:medium;white-space:normal;">
<br />
</p>
<p style="white-space:normal;margin-top:0px;margin-bottom:0px;font-size:14px;padding:0px;color:#323232;background-color:#FFFFFF;line-height:24px;">
接口会返回JSON格式字串,形如:
</p>
<table style="width:900px;position:relative;left:15px;color:#000000;">
<tbody>
<tr>
<td class="line-number" value="1" style="line-height:30px;height:30px;padding:0px 5px;">
</td>
<td class="line-content" style="line-height:30px;height:30px;padding:0px 5px;">
<p style="line-height:24px;">
<span style="font-size:14px;">{"status":true,"data":{"payUrl":"</span><span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#E56600;">https://qkgamesdk.quickapi.net</span><span style="font-size:14px;">/payH5/payCenter?clientLang=zh-cn&data=zzk4puUOWCH13TXOOb6AuOhAiGb/slIUrw2+EURpRinTg1ubbYeMjLBb+Z3cVnn0AulLuWVOud86+EudHyYqX3oililkAcDT5G2+E9Og4U8=&sign=</span><span style="font-family:arial, Helvetica;background-color:#FFFFFF;font-size:14px;">ce30d0a71aa2584bb8ee91921f4dca57</span><span style="font-size:14px;">"},"message":"请求成功"}</span>
</p>
<p>
<span style="font-size:14px;">说明:</span><span style="background-color:#FFFFFF;font-size:14px;">返回的JSON结构体里,</span><span style="background-color:#FFFFFF;font-size:14px;">data.payUrl即为当前接口返回的完整支付页面url</span>
</p>
</td>
</tr>
</tbody>
</table>
<p style="font-size:medium;white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h4 style="white-space:normal;font-size:14px;margin:0px;padding:0px;color:#323232;">
<strong><span style="margin:0px;padding:0px;white-space:pre;">4. 构造并打开个人中心</span></strong>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">4.1</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">接口目的</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
用户构造用户中心地址,以便在游戏中打开用户中心,方便玩家进行修改密码等操作。
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">4.2</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">接口地址</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;"> </span><span style="font-size:14px;"> </span><span style="font-size:14px;">http://xxx.com/openCenter/index</span><span style="font-size:14px;"></span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">4<span style="font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;font-size:14px;text-wrap:wrap;">.</span>3</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">请求方式</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">GET</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">4<span style="font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;font-size:14px;text-wrap:wrap;">.</span>4</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">参数列表</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> appProduct</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 产品CODE,在Quick官方SDK后台获取</span>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;"><span style="line-height:2;"> chan</span><span style="font-size:14px;line-height:2;">nelCode</span></span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 选传</span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;"><span style="font-size:14px;"></span><span style="font-size:14px;line-height:2;"> cps</span></span><span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;"><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">分包标识,选传,不传系统默认</span><span lang="EN-US" style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">website</span></span><span style="margin:0px;padding:0px;font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> authToken</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"><span style="font-size:14px;"> stri</span><span style="font-size:14px;">ng</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> 登录成功回传的authToken</span><span style="font-size:14px;"></span><br />
</td>
</tr>
</tbody>
</table>
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;">4.5</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;">返回字段</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;">
<span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#FFFFFF;"> <span style="font-size:14px;"> 该接口无返回,以webview或默认浏览器加载构造的URL即可</span></span>
</p>
<p style="white-space:normal;">
<span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#FFFFFF;"><span style="font-size:14px;"><br />
</span></span>
</p>
<p style="white-space:normal;">
<span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#FFFFFF;"><span style="font-size:14px;"><br />
</span></span>
</p>
<p style="white-space:normal;">
<span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#FFFFFF;"><span style="font-size:14px;"></span></span>
</p>
<h4 style="white-space:normal;font-size:14px;margin:0px;padding:0px;color:#323232;">
<strong><span style="margin:0px;padding:0px;white-space:pre;">5. 上传角色信息</span></strong>
</h4>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;">5.1</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">接口目的</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;font-size:14px;white-space:pre;"> 通过此接口上报游戏的角色信息</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;">5.2</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">接口地址</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<span style="font-size:14px;">http://xxx.com/webOpen/setGameRoleInfo</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;">5.3</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">请求方式</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;"> POST</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;">5.4</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">参数列表</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;height:25%;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">类型</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">说明</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> openId</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 开放平台开发者身份id,由Quick官方SDK分配</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> productCode</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 产品CODE,在Quick官方SDK后台获取</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> channelCode</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> 选传</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span lang="EN-US" style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;font-size:14px;line-height:2;"> cps</span><span style="font-family:微软雅黑, sans-serif;margin:0px;padding:0px;"><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;line-height:2;">分包标识,选传,不传系统默认</span><span lang="EN-US" style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;"><span style="font-size:14px;line-height:2;">website,</span><span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;">如果是用登录器登录的,可以通过启动参数获取</span></span></span>
</p>
</td>
</tr>
<tr>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;"><span style="font-size:14px;line-height:2;"> use</span><span style="font-size:14px;line-height:2;">rId</span></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;"><span style="font-size:14px;line-height:2;"> strin</span><span style="font-size:14px;line-height:2;">g</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:"margin:0px;padding:0px;font-size:14px;line-height:2;"> sdk登录成功返回的uid</span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="margin:0px;padding:0px;line-height:2;font-size:14px;"> vipLevel</span></span><span style="margin:0px;padding:0px;white-space:pre;"></span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="white-space:pre;font-size:14px;"><span style="line-height:2;font-size:14px;"> vip<span style="white-space:normal;font-size:14px;">等级</span></span></span></span>
</p>
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> deviceId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"><span style="font-size:14px;"> str</span><span style="font-size:14px;">ing</span></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="line-height:2;"><span style="font-size:14px;"> </span><span style="font-size:14px;white-space:normal;">设备信息设备号</span></span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> partyId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">帮派id</span></span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> partyName</span><span style="font-size:14px;line-height:2;"></span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">公会社团名称</span></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> userRoleName</span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> float</span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 必传</span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">角色名称</span></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> userRoleLevel</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">角色等级</span></span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> userRoleBalance</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;">角色用户余额</span></span></span><span style="font-size:14px;"></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> userRoleId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"><span style="line-height:2;"><span style="font-size:14px;"> </span><span style="white-space:normal;font-size:14px;"><span style="font-size:14px;">角色</span><span style="white-space:normal;font-size:14px;">ID</span></span></span></span><br />
</td>
</tr>
<tr>
<td>
<span style="font-size:14px;line-height:2;"> serverId</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-family:微软雅黑, "margin:0px;padding:0px;font-size:14px;text-wrap:wrap;line-height:2;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"> 选传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;line-height:2;"><span style="font-size:14px;"> 区服</span><span style="white-space:normal;font-size:14px;">ID</span><span style="white-space:normal;font-size:14px;"></span></span><br />
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> serverName</span><span style="margin:0px;padding:0px;white-space:pre;"></span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> string</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 必传</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 区服名称</span>
</p>
</td>
</tr>
<tr>
<td>
<span style="white-space:normal;margin:0px;padding:0px;line-height:2;font-size:14px;"> sign</span><br />
</td>
<td>
<span style="white-space:normal;margin:0px;padding:0px;line-height:2;font-size:14px;"> string</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;font-size:14px;"> 必传</span><span style="font-size:14px;"></span><br />
</td>
<td>
<span style="font-size:14px;"> </span><span style="white-space:normal;margin:0px;padding:0px;line-height:2;font-size:14px;">签名串,算法详见第4章签名方法描述</span><span style="font-size:medium;white-space:normal;"></span>
</td>
</tr>
</tbody>
</table>
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;">5.6</span><span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;">返回字段</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;"> </span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;"> 接口会返回JSON格式字符串,如:</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;line-height:24px;"> 例1 {"status":false,"message":"tokenUidError",”data”:[]}</span><br style="white-space:normal;font-size:14px;font-family:微软雅黑, "color:#323232;text-wrap:wrap;background-color:#FFFFFF;" />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;line-height:24px;font-size:14px;"> 例2 {"status":true,"message":"","data":[]}</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"><br />
</span>
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;"></span>
</p>
<table cellpadding="2" cellspacing="0" border="1" bordercolor="#000000" style="width:900px;position:relative;left:15px;font-family:微软雅黑, "margin:0px;padding:0px;border-spacing:0px;color:#323232;font-size:14px;background-color:#FFFFFF;">
<tbody style="margin:0px;padding:0px;">
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 参数</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 类型</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必要性</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;background-color:#CCCCCC;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;"><span style="line-height:2;font-size:14px;"> 说明</span></span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> sta</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">tus</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> b</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ool</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 接口验证状态,若通过验证为true,否则为false</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> message</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> stri</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">ng</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">必有</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> Status为false时,message有值,为错误提示语</span>
</p>
</td>
</tr>
<tr style="margin:0px;padding:0px;">
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> data</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> a</span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">rray</span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;white-space:pre;"> </span><span style="margin:0px;padding:0px;font-size:14px;line-height:2;">可为空</span><span style="margin:0px;padding:0px;white-space:pre;"> </span>
</p>
</td>
<td style="line-height:30px;font-family:微软雅黑, "margin:0px;padding:0px 5px;height:30px;">
<p style="margin-top:0px;margin-bottom:0px;padding:0px;">
<span style="margin:0px;padding:0px;font-size:14px;line-height:2;"> 如果status为true时,data数组包含了角色详细信息</span>
</p>
</td>
</tr>
</tbody>
</table>
<p style="font-size:medium;white-space:normal;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:small;"></span>
</p>
<p style="font-size:medium;white-space:normal;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:14px;"><br />
</span>
</p>
<p style="font-size:medium;white-space:normal;">
<br />
</p>
<p style="white-space:normal;margin-top:0px;margin-bottom:0px;font-size:14px;padding:0px;color:#323232;background-color:#FFFFFF;line-height:24px;">
<span style="font-size:14px;"> 接口会返回JSON格式字串,形如:</span>
</p>
<table style="width:900px;position:relative;left:15px;color:#000000;">
<tbody>
<tr>
<td class="line-number" value="1" style="line-height:30px;height:30px;padding:0px 5px;">
<span style="font-size:14px;">{"status":false,"data":[],"message":"Mandatory param missing:sign"}</span><span style="font-size:14px;"></span><br />
</td>
<td class="line-content" style="line-height:30px;height:30px;padding:0px 5px;">
<p style="line-height:24px;">
<span style="font-size:14px;"></span><span style="color:#323232;font-family:微软雅黑, "font-size:14px;text-wrap:wrap;background-color:#E56600;"></span><span style="font-size:14px;"></span><span style="font-family:arial, Helvetica;background-color:#FFFFFF;font-size:14px;"></span><span style="font-size:14px;"></span>
</p>
</td>
</tr>
</tbody>
</table>
<p>
<br />
</p>
<p style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin-top:0px;margin-bottom:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;">
<span style="font-size:14px;"> </span>
</p>
<span style="white-space:normal;font-size:14px;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;text-wrap:wrap;background-color:#FFFFFF;"> </span>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h3 style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:16px;">四、签名方法</span>
</h3>
<p style="white-space:normal;">
<span style="font-size:14px;"><br />
</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 第一步:对所有参与请求的参数(排除sign本身)进行字典升序排序,首字母相同则按第二位升序,类推。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 第二步:使用上述参数构造签名串比如key1=val1&key2=val2&key3=val3依次类推,假如得到签名串StringA,注意key与val都是urldecode之后的值。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 第三步:拼接最终的签名串StringB = StringA + "&" + openKey(通过开发者平台获取)。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 第四步:使用md5计算第三步签名串哈希值即为:sign=md5(StringB)。</span>
</p>
<p style="white-space:normal;">
<br />
</p>
<p style="white-space:normal;">
<br />
</p>
<h3 style="white-space:normal;font-family:微软雅黑, "margin:0px;padding:0px;color:#323232;background-color:#FFFFFF;">
<span style="margin:0px;padding:0px;font-size:16px;">五、其他注意事项</span>
</h3>
<p style="white-space:normal;">
<span style="font-size:14px;"><br />
</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 当登录系统包含第三方授权登录时,游戏的webview应支持新窗口打开方法。各程序语法有差异,大体思路为继承webview控件重新实现onCreateWindow之类的方法。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 新标签也应监听urlChange事件,当跳转至successUrl时应关闭webview并解析参数。</span>
</p>
<p style="white-space:normal;line-height:24px;">
<span style="font-size:14px;"> 为获得较好的视觉效果,如圆角等,可将webview控件设为透明模式。等待webview加载网页期间,可设置一些过渡动画。</span>
</p>