获取抽奖
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取抽奖资格</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://218.90.189.222:25844/scorestore/public/api/sales/sales/Saleschance</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">XX-Token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>header 登录token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 1,
"msg": "操作成功,可以抽奖!",
"data": ""
}</code></pre>
<pre><code>{
"code": 0,
"msg": "无法参加抽奖!",
"data": ""
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>是否可以参加抽奖,1可以,0不可以,对应错误提示</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>