说明

添加首页功能

请求地址

环境 请求地址
测试环境 https://pay.umxnt.com/api/user/add_merchant_index

请求参数

参数 类型 是否必填 描述
token string 令牌
title string 功能标题
icon string 功能图片
sort string 排序
url string 跳转链接
  • 成功返回有数据
{
    "status": 1,
    "message": "数据添加成功",
    "data": {
        "type": "url",
        "pid": 2,
        "config_id": "1234",
        "title": "1234",
        "icon": "https://pay.umxnt.com/app/img/merchant/index/hbfq.png",
        "url": "https://pay.umxnt.com/app/img/merchant/index/hbfq.png",
        "sort": "7",
        "updated_at": "2019-07-19 11:43:02",
        "created_at": "2019-07-19 11:43:02",
        "id": 24
    }
}
  • 失败请求示例

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

results matching ""

    No results matching ""