请求URL:

POST/plugin.wechat-chat-sidebar.frontend.controller.customer.customer.history

参数:

参数名 是否必须 类型 说明
client string 值是:work 代表是企业微信端
type int 值是:17 代表是企业微信端

返回示例:

正确时返回:

{
	result: 1,
	msg: "ok",
	data: {
		2021 - 04 - 13: {
			current_page: 1,
			data: [{
				title: "狗年到 | 两款萌萌狗杯,你更爱哪一款?",
				url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
				id: 6,
				thumb: "",
				price: "",
				port_type: "WAP",
				created_at: "2021-04-13 11:55:44"
			}],
			first_page_url: "http://www.wq.com/addons/yun_shop/api.php?page=1",
			from: 1,
			last_page: 1,
			last_page_url: "http://www.wq.com/addons/yun_shop/api.php?page=1",
			next_page_url: null,
			path: "http://www.wq.com/addons/yun_shop/api.php",
			per_page: 15,
			prev_page_url: null,
			to: 1,
			total: 1
		},
		2021 - 04 - 12: {
			current_page: 1,
			data: [{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:57:30"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:57:26"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:57:24"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:57:13"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:57:08"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:56:58"
				},
				{
					title: "七格格2017夏装新款时尚通勤休闲圆领撞色拉链假两件连衣裙X1044",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "http://www.wq.com/attachment/images/attachment/2/2020/08/9c39817c4e9f601c417ea0c272a22170.png",
					id: "18236",
					price: "10.00",
					port_type: "公众号",
					created_at: "2021-04-12 14:56:40"
				},
				{
					title: "测试发布商品",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "http://www.wq.com/attachment/images/2/2019/07/m111GM5VuG0iPdxp5t4B4xM1PG01u4.jpg",
					id: "18254",
					price: "101.11",
					port_type: "公众号",
					created_at: "2021-04-12 14:56:08"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:56:03"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:56:03"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:53:48"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "公众号",
					created_at: "2021-04-12 14:53:47"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "小程序",
					created_at: "2021-04-12 14:53:23"
				},
				{
					title: "浏览页面",
					url: "http://www.wq.com/addons/yun_shop/?menu#/?i=2",
					thumb: "",
					price: 0,
					port_type: "WAP",
					created_at: "2021-04-12 14:53:15"
				}
			],
			first_page_url: "http://www.wq.com/addons/yun_shop/api.php?page=1",
			from: 1,
			last_page: 2,
			last_page_url: "http://www.wq.com/addons/yun_shop/api.php?page=2",
			next_page_url: "http://www.wq.com/addons/yun_shop/api.php?page=2",
			path: "http://www.wq.com/addons/yun_shop/api.php",
			per_page: 14,
			prev_page_url: null,
			to: 14,
			total: 28
		},
		time_data: [
			"2021-04-13",
			"2021-04-12"
		]
	}
}