轻松教育API

轻松教育API


消费类型列表

<h5>简要描述</h5> <h5>请求URL</h5> <ul> <li><code>http://www.zhidianbao.cn/qsxxwapdev/api/canteen/classification_list.html</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </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>{ "code": "0", "list": [ { "state": "1", "value": "早餐消费", "key": "2" }, { "state": "1", "value": "上午茶消费", "key": "30" }, { "state": "1", "value": "午餐消费", "key": "3" }, { "state": "1", "value": "下午茶消费", "key": "31" }, { "state": "0", "value": "晚餐消费", "key": "4" }, { "state": "0", "value": "夜宵消费", "key": "32" }, { "state": "0", "value": "加餐消费", "key": "33" }, { "state": "1", "value": "超市/小卖部", "key": "5" }, { "state": "1", "value": "医务室", "key": "10" }, { "state": "1", "value": "书店", "key": "11" }, { "state": "1", "value": "其他", "key": "12" } ], "message": "success" }</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;">code</td> <td style="text-align: left;">int</td> <td>0:成功</td> </tr> <tr> <td style="text-align: left;">messag</td> <td style="text-align: left;">String</td> <td>说明</td> </tr> <tr> <td style="text-align: left;">list</td> <td style="text-align: left;">array</td> <td>消费类型数组</td> </tr> </tbody> </table>

页面列表

ITEM_HTML