说明
商户端我的功能布局
图标均为后台返回
请求地址
环境 | 请求地址 |
---|---|
测试环境 | https://pay.umxnt.com/api/merchant/my |
正式环境 |
请求参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
token | string | 是 | 令牌 |
返回值示例 成功请求示例:
{ "status": 1, "message": "数据返回成功", "data": [ { "id": 1, "config_id": "1234", "type": "mdzl", "title": "门店资料", "icon": "https://pay.umxnt.com/img/mdzl.png", "url": "", "sort": 1, "created_at": "2018-04-04 14:55:58", "updated_at": "2018-04-04 14:55:58" }, { "id": 2, "config_id": "1234", "type": "mdgl", "title": "门店管理", "icon": "https://pay.umxnt.com/img/mdgl.png", "url": "", "sort": 2, "created_at": "2018-05-31 20:07:04", "updated_at": "2018-05-31 20:07:04" }, { "id": 3, "config_id": "1234", "type": "sqtd", "title": "申请通道", "icon": "https://pay.umxnt.com/img/sqtd.png", "url": "", "sort": 3, "created_at": "2018-04-04 14:59:45", "updated_at": "2018-04-04 14:59:45" }, { "id": 5, "config_id": "1234", "type": "lxkf", "title": "联系客服", "icon": "https://pay.umxnt.com/img/lxkf.png", "url": "", "sort": 5, "created_at": "2018-04-04 14:59:08", "updated_at": "2018-04-04 14:59:08" }, { "id": 7, "config_id": "1234", "type": "url", "title": "常见问题", "icon": "https://xy.umxnt.com/img/wt.png", "url": "http://m.tb.cn/x.e7wTfh", "sort": 6, "created_at": "2018-04-04 15:02:56", "updated_at": "2018-04-04 15:02:56" }, { "id": 10, "config_id": "1234", "type": "url", "title": "想用直播", "icon": "https://xy.umxnt.com/img/zb.png", "url": "http://mudu.tv/?c=activity&a=live&id=123333", "sort": 8, "created_at": "2018-06-25 20:29:16", "updated_at": "2018-06-25 20:29:16" } ] }
参数 | 说明 |
---|---|
title | 功能标题 |
icon | 功能前的图标图片链接 |
type | url 代表链接直接跳转,其他代表应用功能需要适配 |
url | 跳转链接,type=url 才返回链接 否则返回为空 |
失败请求示例
{ "message":"无效参数", "status":2 }