说明

商户端APP 布局

首页-index

第一栏-one,第二栏-two

第三栏-third,第四栏-fourth,第五栏-five

请求地址

环境 请求地址
测试环境 https://pay.umxnt.com/api/merchant/index
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
type string 返回布局的类型 总共5个大的布局,如果不传返回所有布局 ,可单独或者多个用英文逗号隔开,one,two
  • 返回值示例 成功请求示例:

    {
      "status": 1,
      "message": "数据返回成功",
      "data": {
        "one": [
          {
            "id": 13,
            "pid": 1,
            "config_id": "1234",
            "type": "sk",
            "title": "收款",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000411.png",
            "url": "",
            "sort": 1,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          },
          {
            "id": 14,
            "pid": 1,
            "config_id": "1234",
            "type": "yj",
            "title": "验券",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000412.png",
            "url": "",
            "sort": 2,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          },
          {
            "id": 15,
            "pid": 1,
            "config_id": "1234",
            "type": "dz",
            "title": "对账",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000413.png",
            "url": "",
            "sort": 3,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          },
          {
            "id": 16,
            "pid": 1,
            "config_id": "1234",
            "type": "sj",
            "title": "赏金",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000414.png",
            "url": "",
            "sort": 4,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          }
        ],
        "two": [
          {
            "id": 17,
            "pid": 2,
            "config_id": "1234",
            "type": "hbfq",
            "title": "花呗分期",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000421.png",
            "url": "",
            "sort": 1,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          },
          {
            "id": 18,
            "pid": 2,
            "config_id": "1234",
            "type": "wlxy",
            "title": "未来校园",
            "icon": "https://pay.umxnt.com/app/img/merchant/index/1000422.png",
            "url": "",
            "sort": 2,
            "created_at": "2018-06-09 00:00:00",
            "updated_at": "2018-06-09 00:00:00"
          }
        ],
        "third": [
          {
            "title": "网商支付宝收款1000元",
            "created_at": "2017-08-08 20:20:20"
          },
          {
            "title": "医院缴费10元",
            "created_at": "2017-08-08 20:20:20"
          }
        ],
        "fourth": [
          {
            "title": "小盒子",
            "img_url": "",
            "action_url": "https://www.baidu.com/s?wd=%E6%83%B3%E7%94%A8app",
            "created_at": "2017-08-08 20:20:20"
          },
          {
            "title": "未来医院上线了",
            "img_url": "",
            "action_url": "https://www.baidu.com/s?wd=%E6%83%B3%E7%94%A8app",
            "created_at": "2017-08-08 20:20:20"
          }
        ],
        "five": [
          {
            "title": "昨天收到款项1000元",
            "desc": "有两笔订单退款,金额30元",
            "created_at": "2017-08-08 20:20:20"
          }
        ]
      }
    }
    
  • 失败请求示例

    {
        "message":"无效参数",
        "status":2
    }
    

results matching ""

    No results matching ""