运营商-售货机接口文档

undefined


运营商登录

<h5>简要描述</h5> <ul> <li>使用域名 <a href="http://admin.gamekingtao.top/service">http://admin.gamekingtao.top/service</a> 替换 {{service}},除了登录接口外所有接口调用都需要在header传递token参数,token参数登录成功后返回</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{service}}/user/login</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>请求Query参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">XDEBUG_SESSION_START</td> <td style="text-align: left;">是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>请求Body参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">username</td> <td style="text-align: left;">是</td> <td>string</td> <td>运营商账号</td> </tr> <tr> <td style="text-align: left;">password</td> <td style="text-align: left;">是</td> <td>string</td> <td>密码</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 10000, "data": { "token": "LIhDOnWXbGxte9BPQPAMBM2NMVHGpGTw", "user": { "id": 1,主键ID "pid": 0, "username": "DMG",用户名 "password": "$2y$13$l/vedb5Y7iebc38v3ic96OsVM/y5bK15xSd1znux2gYUQvly3d1t2",密码 "nickname": "DMG-admin",昵称 "company": "System_DMGT",公司 "phone": "13922953712",手机 "app_id": "", "order_fee": 0.1,订单费 "system_fee": 1.37,系统使用费 "domain": "", "money": 0, "device_groups": [], "devices": [], "scope": "99",权限 "logo": "//asset.dmg.com/common/6577b9b8ed4e4.png", "qr_logo": "5f277e25ec158.png", "shopping_image": "60b606467b95d.jpg", "config": { "title": "大麦柜-DMGT Global", "service_phone": "400-990-2302", "notify_phone": "13922953712,18963781312,13347219407", "notify_email": "leon@nex.ren", "notifyUserId": "11,12", "thirdPartyVerify": "", "order_verify": "1", "bottom_banner": "1", "stock_warning": "55" }, "status": 1,状态 "create_time": 1536300210.6432, "update_time": 1704357902, "fupin_app_id": "", "wx_app_id": "", "merchant_id": 1,微信进件id "merchant_profit_id": 0,微信进件id(分账) "freeze_money": 0, "device_count": "0", "my_profit": 0, "c_value": 0, "level": 1 } }, "msg": "Success" } </code></pre>

页面列表

ITEM_HTML