接口文档

接口文档


安卓更新升级参数

<h5>简要描述</h5> <ul> <li>安卓更新升级参数</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/getAndroidUpdateParam</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;data&amp;quot;: { &amp;quot;version&amp;quot;: &amp;quot;37&amp;quot;, &amp;quot;versionString&amp;quot;: &amp;quot;1.42&amp;quot;, &amp;quot;updateTitle&amp;quot;: &amp;quot;1.42版本&amp;quot;, &amp;quot;updateContent&amp;quot;: &amp;quot;1.添加商城系统。&amp;quot;, &amp;quot;updateUrl&amp;quot;: &amp;quot;https://tsj.youdubook.com/apk_update/release/tsj_v1.42_release_2024-03-21_16-13-32.apk&amp;quot;, &amp;quot;isForcibly&amp;quot;: true, &amp;quot;upgradeTipType&amp;quot;: &amp;quot;once_daily&amp;quot; }, &amp;quot;message&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <h5>返回参数说明</h5> <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;">version</td> <td style="text-align: left;">int</td> <td>版本号</td> </tr> <tr> <td style="text-align: left;">versionString</td> <td style="text-align: left;">int</td> <td>版本名称</td> </tr> <tr> <td style="text-align: left;">updateTitle</td> <td style="text-align: left;">int</td> <td>更新标题</td> </tr> <tr> <td style="text-align: left;">updateContent</td> <td style="text-align: left;">int</td> <td>更新内容</td> </tr> <tr> <td style="text-align: left;">updateUrl</td> <td style="text-align: left;">int</td> <td>下载地址</td> </tr> <tr> <td style="text-align: left;">isForcibly</td> <td style="text-align: left;">int</td> <td>是否强制更新</td> </tr> <tr> <td style="text-align: left;">upgradeTipType</td> <td style="text-align: left;">int</td> <td>升级提示类型 每次打开every_time 一天一次once_daily</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML