简要描述:

搜索门店拼团

请求域名:

  • http://xx.com

请求URL:

plugin.store-decorate.admin.decorate-common.search-fight-group

参数:

参数名 是否必须 类型 说明
store_id int 门店ID

返回示例:

正确时返回:

{
	result: 1,
	msg: "成功",
	data: {
		list: [
			{
				id: 47,
				uniacid: 1,
				goods_id: 92795,
				title: "测试",
				start_time: 1672761600,
				end_time: 1673452800,
				note: "",
				menu_show: 0,
				hide_num: 1,
				is_integral: 0,
				integral_num: "0.00",
				is_lead: 0,
				setting: 0,
				barrage: 0,
				share_title: "原价¥<<商品最高价>>,现价¥<<商品最低价>>起,参加<<拼团活动名称>>即可享受",
				share_content: "活动商品数量有限,先到先得。",
				desc_title: "我已经参加了<<团长名称>>发起的拼团。",
				desc_content: "凑足<<拼团人数>>人即可享受拼团优惠,我已经参加,你也来吧。",
				status: 0,
				created_at: "2023-01-05 10:03:39",
				updated_at: "2023-01-05 10:03:39",
				deleted_at: null,
				is_love: 0,
				love: "0.00",
				is_balance: 0,
				balance: "0.00",
				is_coupon: 0,
				coupon: "a:0:{}",
				is_open_draw: null,
				draw_type: null,
				error_draw_refund: null,
				error_draw_point: null,
				error_draw_point_number: null,
				error_draw_love: null,
				error_draw_love_number: null,
				error_draw_balance: null,
				error_draw_balance_number: null,
				draw_number: null,
				store_id: 41,
				plugin_id: 32,
				commissions: "a:0:{}",
				c_level: "",
				is_consumption_points: 0,
				consumption_points: "0.00",
				is_join_number: 0,
				join_number: 0,
				parent_reward: "0.00",
				parent_every_group: 0,
				parent_reward_max: 0,
				open_group_max: 0,
				is_team_open: 0,
				balance_switch: 0,
				commissions_num: "a:5:{i:0;a:3:{s:2:"id";i:0;s:5:"count";i:0;s:6:"choose";i:0;}i:1;a:3:{s:2:"id";i:1;s:5:"count";i:0;s:6:"choose";i:0;}i:2;a:3:{s:2:"id";i:3;s:5:"count";i:0;s:6:"choose";i:0;}i:3;a:3:{s:2:"id";i:7;s:5:"count";i:0;s:6:"choose";i:0;}i:4;a:3:{s:2:"id";i:8;s:5:"count";i:0;s:6:"choose";i:0;}}",
				commissions_balance: "a:5:{i:0;a:3:{s:2:"id";i:0;s:6:"amount";i:0;s:6:"choose";i:0;}i:1;a:3:{s:2:"id";i:1;s:6:"amount";i:0;s:6:"choose";i:0;}i:2;a:3:{s:2:"id";i:3;s:6:"amount";i:0;s:6:"choose";i:0;}i:3;a:3:{s:2:"id";i:7;s:6:"amount";i:0;s:6:"choose";i:0;}i:4;a:3:{s:2:"id";i:8;s:6:"amount";i:0;s:6:"choose";i:0;}}"
			}
		]
	}
}

错误时返回:

{
    "result": 0,
    "msg": "暂无数据",
    "data": []
}

返回参数说明:

参数名 类型 说明
id int 活动id
goods_id int 商品id
title int 活动标题
start_time int 开始时间
end_time int 结束时间
note string 商家说明
menu_show int 隐藏开关
is_integral int 团长送积分
integral_num int 送多少积分
is_lead int 老拉新
setting int 拼团设置
barrage array 弹幕设置
share_title int 分享标题
share_content string 分享内容
desc_title int 详情标题
desc_content int 详情内容
stock int 活动库存
buy_limit int 限购件数
status int 活动状态
created_at int 创建时间
has_one_goods object 商品信息
has_many_level array 层级信息列表
has_many_options array 规格信息列表
keywords array 分享关键字信息列表

备注:

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