艾特机加

后端接口文档


编辑修改套餐

<p><strong>接口描述:</strong></p> <p>*同添加套餐一个接口</p> <p><strong>请求URL:</strong></p> <ul> <li><code>/jt/atfeepackage/saveorupdate</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST</li> </ul> <p><strong>请求参数:json格式</strong></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>描述</th> <th>必填</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>int</td> <td>套餐管理id</td> <td>是,套餐管理id为必须参数,其余要修改什么就传什么字段即可</td> </tr> </tbody> </table> <p><strong>响应头参数:</strong></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>int</td> <td>响应代码</td> </tr> <tr> <td>message</td> <td>string</td> <td>响应描述</td> </tr> <tr> <td>data</td> <td>json</td> <td>业务数据</td> </tr> </tbody> </table> <p><strong>响应data参数:</strong></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td></td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ &amp;quot;id&amp;quot;:1, &amp;quot;packageName&amp;quot;:&amp;quot;19.8商务套餐&amp;quot; }</code></pre> <p><strong>响应示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;SUCCESS&amp;quot; }</code></pre> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML