专技天下(前台web端接口文档)

专技天下(前台web端接口文档)


计划激活前课程重复验证-苗海峰

<p><strong>简要描述:</strong></p> <ul> <li>计划激活前课程重复验证接口</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>http://xx.com/plan/plan/checkActivePlanClass</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;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户token(放在header中)</td> </tr> <tr> <td style="text-align: left;">upId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户计划编号</td> </tr> </tbody> </table> <p><strong>参数示例</strong></p> <pre><code>{ "data":{ "upId":216 } }</code></pre> <p><strong>返回示例</strong></p> <pre><code>{ "data": 0, "message": { "errinfo": "success", "errcode": 200 } }</code></pre> <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;">data</td> <td style="text-align: left;">integer</td> <td style="text-align: left;">0表示无重复 其它返回值则为重复的课程编号(非用户课程编号)</td> </tr> </tbody> </table> <p><strong>错误码说明:</strong></p> <table> <thead> <tr> <th style="text-align: left;">code</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">3003</td> <td style="text-align: left;">未登录</td> </tr> <tr> <td style="text-align: left;">99999</td> <td style="text-align: left;">参数不正确</td> </tr> <tr> <td style="text-align: left;">3511</td> <td style="text-align: left;">检查计划内课程重复失败</td> </tr> </tbody> </table> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML