刷新个人数据api
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>每次打开app</li>
<li>请求方式:post</li>
<li>请求 Api:<a href="https://www.bai6du.com/shareGameServlet/newAppShareFreshApi">https://www.bai6du.com/shareGameServlet/newAppShareFreshApi</a></li>
<li>接口名称:newAppShareFreshApi
<h5>参数</h5></li>
</ul>
<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;">account</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>账号(微信授权登录返回)</td>
</tr>
<tr>
<td style="text-align: left;">freshType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>值有(hometopcoinfresh首页顶部三个金币领取状态刷新)/task(taskJson任务字段刷新)/everydayhongbao(每日红包刷新)/coin(单独刷新用户个人金币))</td>
</tr>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户token 在userinfo字段里面查询</td>
</tr>
<tr>
<td style="text-align: left;">sgin</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>签名:md5(接口名称'+"C8BB8F2FDD54FA782D61E6A844CD484")</td>
</tr>
</tbody>
</table>
<h6>重要说明:其中freshType=task/hometopcoinfresh/coin 这三个类型都是查询的userinfo表。返回的字段解释,请到上一个微信授权登录接口文档里面查,有详细解释。</h6>
<h5>返回示例 当freshType=everydayhongbao</h5>
<pre><code>[{
&quot;needFinishTimes&quot;: &quot;0&quot;,/*青铜红包需要完成任务次数*/
&quot;finishStatus&quot;: &quot;none&quot;,/*青铜红包任务完成状态*/
&quot;currentVideoLookTimes&quot;: &quot;0&quot;,/*青铜红包当前观看视频次数*/
&quot;name&quot;: &quot;青铜红包&quot;,/**/
&quot;needVideoLookTimes&quot;: &quot;3&quot;,/*青铜红包需要观看视频次数*/
&quot;id&quot;: &quot;1&quot;,/**/
&quot;receiveStatus&quot;: &quot;none&quot;,/*青铜红包完成后领取状态*/
&quot;currentFinishTimes&quot;: &quot;0&quot;,/*青铜红包当前任务完成次数*/
&quot;hongbaoMonery&quot;: &quot;1000&quot;/*青铜红包做完后会增加的金币数量*/
}, {
&quot;needFinishTimes&quot;: &quot;3&quot;,/*同上*/
&quot;finishStatus&quot;: &quot;none&quot;,/*同上*/
&quot;currentVideoLookTimes&quot;: &quot;0&quot;,/*同上*/
&quot;name&quot;: &quot;白银红包&quot;,/*同上*/
&quot;needVideoLookTimes&quot;: &quot;3&quot;,/*同上*/
&quot;id&quot;: &quot;2&quot;,/*同上*/
&quot;receiveStatus&quot;: &quot;none&quot;,/*同上*/
&quot;currentFinishTimes&quot;: &quot;0&quot;,/*同上*/
&quot;hongbaoMonery&quot;: &quot;2000&quot;/*同上*/
}, {
&quot;needFinishTimes&quot;: &quot;6&quot;,/*同上*/
&quot;finishStatus&quot;: &quot;none&quot;,/*同上*/
&quot;currentVideoLookTimes&quot;: &quot;0&quot;,/*同上*/
&quot;name&quot;: &quot;黄金红包&quot;,/*同上*/
&quot;needVideoLookTimes&quot;: &quot;3&quot;,/*同上*/
&quot;id&quot;: &quot;3&quot;,/*同上*/
&quot;receiveStatus&quot;: &quot;none&quot;,/*同上*/
&quot;currentFinishTimes&quot;: &quot;0&quot;,/*同上*/
&quot;hongbaoMonery&quot;: &quot;5000&quot;/*同上*/
}]</code></pre>