大学长

大学长接口


徐坤帅-获取用户导航-20180721

<p><strong>简要描述:</strong> </p> <ul> <li>获取用户导航 <strong>变更履历</strong></li> </ul> <table> <thead> <tr> <th style="text-align: left;">版本号</th> <th style="text-align: left;">说明</th> <th style="text-align: left;">变更者</th> <th style="text-align: left;">日期</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">0.1</td> <td style="text-align: left;">新</td> <td style="text-align: left;">徐坤帅</td> <td style="text-align: left;">20180721</td> </tr> </tbody> </table> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://123.206.94.205:8080/web-api/user/navList</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;">userId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户id 10000</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;Ok&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;user_id&amp;quot;: &amp;quot;10000&amp;quot;,//用户id &amp;quot;name&amp;quot;: &amp;quot;推荐课程&amp;quot;,//名称 &amp;quot;en_name&amp;quot;: &amp;quot;推荐课程&amp;quot;, //英文名称 &amp;quot;id&amp;quot;: &amp;quot;5&amp;quot;,//id &amp;quot;sort&amp;quot;: 5,//排序 &amp;quot;url&amp;quot;: &amp;quot;&amp;quot;//地址 } ] }</code></pre> <p><strong>返回参数说明</strong> </p> <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> </tr> </thead> <tbody> <tr> <td style="text-align: left;">200</td> <td style="text-align: left;">请求成功</td> <td style="text-align: left;">无</td> </tr> <tr> <td style="text-align: left;">500</td> <td style="text-align: left;">服务器错误成功</td> <td style="text-align: left;">无</td> </tr> </tbody> </table> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML