简要描述:

  • 门店pos收银-优惠券列表

请求域名:

  • http://xx.com

请求URL:

route=plugin.store-pos.frontend.coupon.usableCoupon 为收银员时会返回空列表

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": [{
		"id": 31858,
		"uid": 166000,
		"coupon_id": 71,
		"used": 0,
		"use_time": 0,
		"get_time": "2023-06-06 00:00:00",
		"is_member_deleted": 0,
		"coupon_qr": "",
		"small_qr": "",
		"coupon_qr_sn": "",
		"is_expired": 0,
		"near_expiration": 0,
		"expired_at": "",
		"time_start": "2023-06-06",
		"time_end": "不限时间",
		"timestamp_end": "不限时间",
		"belongs_to_coupon": {
			"id": 71,
			"uniacid": 1,
			"cat_id": 0,
			"name": "门店4优惠券2",
			"get_type": 0,
			"level_limit": -1,
			"get_max": 1,
			"get_limit_max": 1,
			"get_limit_type": 0,
			"use_type": 4,
			"return_type": 0,
			"bgcolor": "",
			"enough": 0,
			"coupon_type": 0,
			"time_limit": 0,
			"time_days": 0,
			"time_start": "2023-06-06 09:40:08",
			"time_end": "2023-06-13 09:40:08",
			"coupon_method": 1,
			"discount": "0.00",
			"deduct": "0.00",
			"back_type": 0,
			"back_money": "",
			"back_credit": "",
			"back_redpack": "",
			"back_when": 0,
			"thumb": "",
			"desc": null,
			"total": 100,
			"status": 1,
			"money": "0.00",
			"resp_desc": null,
			"resp_thumb": "",
			"resp_title": "",
			"resp_url": "",
			"credit": 0,
			"usecredit2": 0,
			"remark": "",
			"descnoset": 0,
			"display_order": 0,
			"supplier_uid": 0,
			"getcashier": 0,
			"cashiersids": null,
			"cashiersnames": null,
			"category_ids": [],
			"categorynames": [],
			"goods_names": [],
			"goods_ids": [],
			"storenames": ["18026357601"],
			"member_tags_ids": [],
			"member_tags_names": [],
			"getstore": 0,
			"getsupplier": 0,
			"supplierids": null,
			"suppliernames": null,
			"createtime": 0,
			"created_at": "2023-06-06 09:40:42",
			"updated_at": "2023-06-06 09:40:42",
			"deleted_at": null,
			"is_complex": 0,
			"plugin_id": 0,
			"use_conditions": "N;",
			"is_integral_exchange_coupon": 0,
			"exchange_coupon_integral": "0.00",
			"content": "",
			"coupon_type_name": "门店商品"
		},
		"belongs_to_common_coupon": {
			"id": 71,
			"uniacid": 1,
			"cat_id": 0,
			"name": "门店4优惠券2",
			"get_type": 0,
			"level_limit": -1,
			"get_max": 1,
			"get_limit_max": 1,
			"get_limit_type": 0,
			"use_type": 4,
			"return_type": 0,
			"bgcolor": "",
			"enough": 0,
			"coupon_type": 0,
			"time_limit": 0,
			"time_days": 0,
			"time_start": "2023-06-06 09:40:08",
			"time_end": "2023-06-13 09:40:08",
			"coupon_method": 1,
			"discount": "0.00",
			"deduct": "0.00",
			"back_type": 0,
			"back_money": "",
			"back_credit": "",
			"back_redpack": "",
			"back_when": 0,
			"thumb": "",
			"desc": null,
			"total": 100,
			"status": 1,
			"money": "0.00",
			"resp_desc": null,
			"resp_thumb": "",
			"resp_title": "",
			"resp_url": "",
			"credit": 0,
			"usecredit2": 0,
			"remark": "",
			"descnoset": 0,
			"display_order": 0,
			"supplier_uid": 0,
			"getcashier": 0,
			"cashiersids": null,
			"cashiersnames": null,
			"category_ids": [],
			"categorynames": [],
			"goods_names": [],
			"goods_ids": [],
			"storeids": [4],
			"storenames": ["18026357601"],
			"member_tags_ids": [],
			"member_tags_names": [],
			"getstore": 0,
			"getsupplier": 0,
			"supplierids": null,
			"suppliernames": null,
			"createtime": 0,
			"created_at": "2023-06-06 09:40:42",
			"updated_at": "2023-06-06 09:40:42",
			"deleted_at": null,
			"is_complex": 0,
			"plugin_id": 0,
			"use_conditions": "N;",
			"is_integral_exchange_coupon": 0,
			"exchange_coupon_integral": "0.00",
			"content": "",
			"coupon_type_name": "门店商品"
		}
	}, {
		"id": 31859,
		"uid": 166000,
		"coupon_id": 71,
		"used": 0,
		"use_time": 0,
		"get_time": "2023-06-06 00:00:00",
		"is_member_deleted": 0,
		"coupon_qr": "",
		"small_qr": "",
		"coupon_qr_sn": "",
		"is_expired": 0,
		"near_expiration": 0,
		"expired_at": "",
		"time_start": "2023-06-06",
		"time_end": "不限时间",
		"timestamp_end": "不限时间",
		"belongs_to_coupon": {
			"id": 71,
			"uniacid": 1,
			"cat_id": 0,
			"name": "门店4优惠券2",
			"get_type": 0,
			"level_limit": -1,
			"get_max": 1,
			"get_limit_max": 1,
			"get_limit_type": 0,
			"use_type": 4,
			"return_type": 0,
			"bgcolor": "",
			"enough": 0,
			"coupon_type": 0,
			"time_limit": 0,
			"time_days": 0,
			"time_start": "2023-06-06 09:40:08",
			"time_end": "2023-06-13 09:40:08",
			"coupon_method": 1,
			"discount": "0.00",
			"deduct": "0.00",
			"back_type": 0,
			"back_money": "",
			"back_credit": "",
			"back_redpack": "",
			"back_when": 0,
			"thumb": "",
			"desc": null,
			"total": 100,
			"status": 1,
			"money": "0.00",
			"resp_desc": null,
			"resp_thumb": "",
			"resp_title": "",
			"resp_url": "",
			"credit": 0,
			"usecredit2": 0,
			"remark": "",
			"descnoset": 0,
			"display_order": 0,
			"supplier_uid": 0,
			"getcashier": 0,
			"cashiersids": null,
			"cashiersnames": null,
			"category_ids": [],
			"categorynames": [],
			"goods_names": [],
			"goods_ids": [],
			"storenames": ["18026357601"],
			"member_tags_ids": [],
			"member_tags_names": [],
			"getstore": 0,
			"getsupplier": 0,
			"supplierids": null,
			"suppliernames": null,
			"createtime": 0,
			"created_at": "2023-06-06 09:40:42",
			"updated_at": "2023-06-06 09:40:42",
			"deleted_at": null,
			"is_complex": 0,
			"plugin_id": 0,
			"use_conditions": "N;",
			"is_integral_exchange_coupon": 0,
			"exchange_coupon_integral": "0.00",
			"content": "",
			"coupon_type_name": "门店商品"
		},
		"belongs_to_common_coupon": {
			"id": 71,
			"uniacid": 1,
			"cat_id": 0,
			"name": "门店4优惠券2",
			"get_type": 0,
			"level_limit": -1,
			"get_max": 1,
			"get_limit_max": 1,
			"get_limit_type": 0,
			"use_type": 4,
			"return_type": 0,
			"bgcolor": "",
			"enough": 0,
			"coupon_type": 0,
			"time_limit": 0,
			"time_days": 0,
			"time_start": "2023-06-06 09:40:08",
			"time_end": "2023-06-13 09:40:08",
			"coupon_method": 1,
			"discount": "0.00",
			"deduct": "0.00",
			"back_type": 0,
			"back_money": "",
			"back_credit": "",
			"back_redpack": "",
			"back_when": 0,
			"thumb": "",
			"desc": null,
			"total": 100,
			"status": 1,
			"money": "0.00",
			"resp_desc": null,
			"resp_thumb": "",
			"resp_title": "",
			"resp_url": "",
			"credit": 0,
			"usecredit2": 0,
			"remark": "",
			"descnoset": 0,
			"display_order": 0,
			"supplier_uid": 0,
			"getcashier": 0,
			"cashiersids": null,
			"cashiersnames": null,
			"category_ids": [],
			"categorynames": [],
			"goods_names": [],
			"goods_ids": [],
			"storeids": [4],
			"storenames": ["18026357601"],
			"member_tags_ids": [],
			"member_tags_names": [],
			"getstore": 0,
			"getsupplier": 0,
			"supplierids": null,
			"suppliernames": null,
			"createtime": 0,
			"created_at": "2023-06-06 09:40:42",
			"updated_at": "2023-06-06 09:40:42",
			"deleted_at": null,
			"is_complex": 0,
			"plugin_id": 0,
			"use_conditions": "N;",
			"is_integral_exchange_coupon": 0,
			"exchange_coupon_integral": "0.00",
			"content": "",
			"coupon_type_name": "门店商品"
		}
	}]
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明