简要描述:

  • 门店消费卡核销小程序二维码,仅限微信小程序使用

请求域名:

  • http://xx.com

请求URL:

POST/route=plugin.store-card.Frontend.Modules.Verifier.Controllers.qr.index

参数:

参数名 是否必须 类型 说明
hold_id int 消费卡持有ID
store_id int 核销门店ID

返回示例:

正确时返回:

{
	result: 1,
	msg: "ok",
	data: {
		qr: "二维码链接地址"
	}
}

错误时返回:

{
	result: 0,
	msg: "错误消息",
	data:[]
}

返回参数data说明:

参数名 类型 说明
qr string 二维码链接地址

备注:

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