说明
App首页添加修改删除
删除只需要传 id token up
请求地址
| 环境 | 请求地址 |
|---|---|
| 测试环境 | https://m.umxnt.com/api/info/addMerchantAppIndex |
| 正式环境 |
请求参数
| 参数 | 类型 | 是否必填 | 最大长度 | 描述 |
|---|---|---|---|---|
| token | string | 是 | 令牌 | |
| id | string | 否 | 列表的id | |
| up | string | 否 | 默认add-添加,up-修改,del-删除 | |
| type | string | 是 | 类型 | |
| title | string | 是 | 标题 | |
| icon | string | 是 | 图标url | |
| url | string | 是 | 跳转链接 | |
| sort | string | 是 | 排序 |
返回值示例 成功请求示例:
{ "status": 1, "data": [ { "id": 7, "config_id": "123", "type": "url", "title": "信用卡管理", "icon": "https://xy.umxnt.com/upload/picture/2017/11/21/104858_101.jpg", "url": "https://xy.umxnt.com/upload/picture/2017/11/21/104858_101.jpg", "sort": 5, "created_at": "2017-11-22 11:59:03", "updated_at": "2017-11-22 11:59:03" } ] }失败请求示例
{ "msg":"无效参数", "status":0 }