简要描述:

  • 获取小程序分享标题

请求域名:

  • http://xx.com

请求URL:

GET:plugin.share-coupons.Frontend.controllers.share.getShareName

参数:

参数名 是否必须 类型 说明
coupon_id int 优惠券id
num int 优惠券数量

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "share_title": "18*******29向您分享优惠券(10张)18*******29"
    }
}

返回参数说明:

参数名 类型 说明
result int 0:失败,1:成功
msg string 提示消息
data array 返回数据

返回参数 data 说明:

参数名 类型 说明
share_title string 分享标题

备注: