登录用户2
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户登录2接口</li>
</ul>
<p><strong>说明:</strong></p>
<ul>
<li>此接口是彩票内部处理接口,体育无须理会或使用</li>
<li>预登录(用户登录接口) 拿到oid, 在调用此接口</li>
<li>此登录接口适用于体育跳转彩票,比如188金宝博</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xxx.xxx.com/user/signin2</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">oid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>认证用户密钥</td>
</tr>
<tr>
<td style="text-align: left;">sportsurl</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>体育URL(只有体育跳转彩票才需要此字段)</td>
</tr>
<tr>
<td style="text-align: left;">iswap</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>wap/pc</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
//失败
&quot;code&quot;:1,
&quot;msg&quot;:4001,
&quot;info&quot;:oid失效
//成功登陆wap版本
&quot;code&quot;: 1,
&quot;oid&quot;:xxxxxxxxxxxxxxxxxxxxxxxxx,
&quot;username&quot;: &quot;hugo111&quot;,//用户名
&quot;realname&quot;: &quot;测试1&quot;,//用户真是姓名
&quot;qqskype&quot;: &quot;qqqq@qq.com&quot;,//用户邮箱
&quot;money&quot;: 142.48//用户余额
&quot;sportsurl&quot;:&quot;http://a7365.lebole5.com/&quot;
//验证成功PC版本
&quot;code&quot;: 1,
&quot;oid&quot;:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
&quot;html&quot;:&quot;&lt;form id='submit' name='submit' action='http:\/\/111.68.14.173\/login\/login_ok?charset=UTF-8' method='POST'&gt;
&lt;input type='hidden' name='loginName' value='hugo111'\/&gt;
&lt;input type='hidden' name='loginPwd' value='5abd06d6f6ef0e022e11b8a41f57ebda'\/&gt;
&lt;input type='hidden' name='sportsUrl' value='http:\/\/a7365.lebole5.com\/'\/&gt;
&lt;input type='submit' value='ok' style='display:none;'&gt;&lt;\/form&gt;
&lt;script&gt;document.forms['submit'].submit();&lt;\/script&gt;&quot;}&quot;
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>用户若一直存在操作则不掉线,若超过40分钟未进行操作则进行强制下线处理</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>