简要描述:

请求域名:

  • http://xx.com

请求URL:

GET/plugin.store-cashier.admin.store-basic.aggregation

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
        "merchant_name": "商家",
        "open_merchant": 0,
        "discount_name": "折扣",
        "open_discount": 0,
        "coupon_name": "优惠券",
        "open_coupon": 0,
        "goods_gift": "礼包",
        "open_goods_gift": 0,
        "advert_one": {
            "img": "http://cc.com/attachment/images/3/2017/11/rSK2HPKTWTWaB6TTuIS6bBRlxaHIfR.jpg",
            "link": "",
            "min_url": ""
        },
        "advert_two": {
            "img": "http://cc.com/attachment/images/3/2017/11/e6q06060NF24NpAS2nQbBQo0QaNNS0.jpg",
            "link": "",
            "min_url": ""
        },
        "advert_three": {
            "img": "http://cc.com/attachment/images/3/2017/11/hTwWWTNFvgiZITWJxxJteJ96TDNDDH.jpg",
            "link": "",
            "min_url": ""
        },
        "advert_four": {
            "img": "http://cc.com/attachment/images/3/2017/11/hTwWWTNFvgiZITWJxxJteJ96TDNDDH.jpg",
            "link": "",
            "min_url": ""
        },
        "banner": {
            "img": "http://cc.com/attachment/images/3/2017/11/hTwWWTNFvgiZITWJxxJteJ96TDNDDH.jpg",
            "link": "",
            "min_url": ""
        }
    }
}

错误时返回:

  {
    "result": 0,
    "msg": "",
    "data": []
}

返回参数说明:

参数名 类型 说明
merchant_name string 商家自定义名称
open_merchant string 商家1显示,0关闭
discount_name string 折扣自定义名称
open_discount string 折扣1显示,0关闭
coupon_name string 优惠券自定义名称
open_coupon string 优惠券1显示,0关闭
goods_gift string 礼包自定义名称
open_goods_gift string 礼包1显示,0关闭
advert_one array 广告一
advert_two array 广告二
advert_three array 广告三
advert_four array 广告四
banner array banner
参数名 类型 说明
advert_one array 广告一
img string 图片
link string 链接
min_url string 小程序链接

备注:

  • 更多返回错误代码请看首页的错误代码描述