鲁大师

游戏对接文档


s3.鲁大师福利会员接口对接文档

<p>[TOC]</p> <h1>会员等级查询接口</h1> <h4>接口说明:</h4> <ul> <li>本接口用于查询玩家的会员信息。</li> <li>该接口使用到的加密key,不同于登录注册的key需要和运营核对。</li> <li>参数中的gid需要和运营核对</li> </ul> <h4>请求方式:</h4> <ul> <li><code>POST | GET</code></li> </ul> <h4>请求地址:</h4> <ul> <li><code>http://wan.ludashi.com/openApi/platformVipInfo</code></li> </ul> <h4>请求参数:</h4> <table> <thead> <tr> <th>参数</th> <th>说明</th> <th>必填</th> <th>类型</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>gid</td> <td>游戏代号</td> <td>是</td> <td>String</td> <td>gid(小写),同运营核对</td> </tr> <tr> <td>uid</td> <td>玩家游戏账号</td> <td>是</td> <td>String</td> <td>同登陆接口参数uid</td> </tr> <tr> <td>time</td> <td>时间戳</td> <td>是</td> <td>int</td> <td>单位s,有效期为5分钟。</td> </tr> <tr> <td>sign</td> <td>签名</td> <td>是</td> <td>String</td> <td>md5(gid+uid+time+token)小写,token向运营申请</td> </tr> </tbody> </table> <h4>返回参数示例:</h4> <pre><code>{ &amp;quot;errno&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;vip&amp;quot;: 5, &amp;quot;plus&amp;quot;: 2, &amp;quot;bindPhone&amp;quot;: 1, &amp;quot;fcm&amp;quot;: 1 }, &amp;quot;msg&amp;quot;: &amp;quot;请求成功&amp;quot; } # bindPhone =&amp;gt; //0表示未绑定, 1表示绑定 # fcm =&amp;gt; //0 表示未通过防沉迷验证,1表示通过 </code></pre> <h4>返回参数说明:</h4> <table> <thead> <tr> <th>参数</th> <th>说明</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>errno</td> <td>结果状态码</td> <td>0:成功&lt;br/&gt;302:参数错误&lt;br/&gt;304:签名错误&lt;br/&gt;305:链接失效,超时</td> </tr> <tr> <td>msg</td> <td>结果信息</td> <td>一般为出错信息</td> </tr> <tr> <td>data</td> <td>结果数据集</td> <td></td> </tr> <tr> <td>data.vip</td> <td>vip等级</td> <td>0-9</td> </tr> <tr> <td>data.plus</td> <td>超玩会等级</td> <td>0,1,2,3,4</td> </tr> </tbody> </table>

页面列表

ITEM_HTML