阅读( 1 ) 我要纠错

简要描述:

  • 用户登录接口

请求域名:

  • http://xx.com

请求URL:

GET/route=coupon.base-set.see(视图)
POST/route=coupon.base-set.store(提交数据)

传参数说明:

参数名 类型 说明
coupon[is_singleton] int 优惠券使用限制 : 1单张 0多张
coupon[transfer] int 优惠券转让: 1开启 0关闭
coupon[award_point] int 抵扣奖励积分: 1开启 0关闭
coupon[order_close_return] int 优惠券返还 : 1开启 0关闭
coupon[exchange_center] int 兑换中心 :1开启 0关闭
coupon[coupon_notice] arr 消息模板
coupon[description] str 领券说明
coupon[shopping_share][share_limit] int 分享限制 : 1是 0否
coupon[shopping_share][receive_limit] int 领取限制: 1是 0否
coupon[shopping_share][banner] str 分享Banner图
coupon[shopping_share][share_title] str 分享标题
coupon[shopping_share][share_desc] str 分享描述

备注:

返回示例:

正确时返回:

{
	result: 1,
	msg: "ok",
	data: {
		coupon: {
			award_point: "1",
			transfer: "1",
			is_singleton: "1",
			order_close_return: "1",
			exchange_center: "1",
			coupon_notice: "",
			description: "

哒哒哒

", shopping_share: { share_limit: "1", receive_limit: "1", banner: "images/2/2020/05/C9cnzcdOCnfcFfF9Q3e3cXCgC8decM.jpg", share_title: "21312", share_desc: "1232132131" } }, temp_list: [{ id: 166, title: "任务处理通知--共享链获得队列" }, { id: 167, title: "任务处理通知-共享链奖励通知" }, { id: 172, title: "消费积分通知" }, { id: 174, title: "任务处理通知" }, { id: 177, title: "大大大大大大的大大的" }, { id: 178, title: "充值通过" }, { id: 179, title: "收益奖" } ] } }

错误时返回:

 

data 返回参数说明:

参数名 类型 说明
coupon[is_singleton] int 优惠券使用限制 : 1单张 0多张
coupon[transfer] int 优惠券转让: 1开启 0关闭
coupon[award_point] int 抵扣奖励积分: 1开启 0关闭
coupon[order_close_return] int 优惠券返还 : 1开启 0关闭
coupon[exchange_center] int 兑换中心 :1开启 0关闭
coupon[coupon_notice] arr 消息模板
coupon[description] str 领券说明
coupon[shopping_share][share_limit] int 分享限制 : 1是 0否
coupon[shopping_share][receive_limit] int 领取限制: 1是 0否
coupon[shopping_share][banner] str 分享Banner图
coupon[shopping_share][share_title] str 分享标题
coupon[shopping_share][share_desc] str 分享描述

备注:

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