简要描述:

  • 会员推广页面接口

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/获取会员推广页面信息:api.php?i=3&mid=0&type=5&shop_id=null&route=member.member.shareinfo

【测试,注意更换 i 值】/api.php?i=3&&mid=0&type=5&shop_id=null&route=member.member.shareinfo

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

  {
    "status": 1,
    "msg": " ",
    "data": [{
		id: 4,
		uniacid: 3,
		status: 1,
		become: 2,
		become_order: 0,
		become_child: 0,
		become_ordercount: 1,
		become_moneycount: "0.10",
		become_goods_id: "482,331,360,380",
		become_info: 1,
		become_check: 0,
		share_page: 1,
		become_selfmoney: "1.00",
		become_term: [
			become_moneycount: "0.10",
			goodsinfo: [{
					id: 482,
					title: "【包邮热卖】嘉禾东北大米,限时热卖!",
					thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/07/YRGg1Yj33Sgf0gGKg3bykS09gWfi0s.jpg",
					price: "79.00",
					market_price: "119.80",
					status_name: null
				}, {
					id: 331,
					title: "芙丽芳丝净润洗面霜(温和洁面 深层清洁 氨基酸系 敏感肌 洗面奶 )(包邮)",
					thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/06/pQamSFSV8myzL599Y578kA5GYar9A9.jpg",
					price: "139.00",
					market_price: "150.00",
					status_name: null
				}, {
					id: 360,
					title: "罗莱(lovo)雅高双层盖毯180x200cm(包邮)",
					thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/06/C7TI2I0POl0TR9snLi212pyNgm2vGN.png",
					price: "489.00",
					market_price: "699.00",
					status_name: null
				}, {
					id: 339,
					title: "广源良丝瓜水嫩乳液150ml(包邮)",
					thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/08/up495f4tp3SuWafsTfUxZWS5zb8A4w.png",
					price: "108.00",
					market_price: "138.00",
					status_name: null
				}],
			become_selfmoney: "1.00"
		],
		become_goods: [{
			id: 482,
			title: "【包邮热卖】嘉禾东北大米,限时热卖!",
			thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/07/YRGg1Yj33Sgf0gGKg3bykS09gWfi0s.jpg",
			price: "79.00",
			market_price: "119.80",
			status_name: null
		}, {
			id: 331,
			title: "芙丽芳丝净润洗面霜(温和洁面 深层清洁 氨基酸系 敏感肌 洗面奶 )(包邮)",
			thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/06/pQamSFSV8myzL599Y578kA5GYar9A9.jpg",
			price: "139.00",
			market_price: "150.00",
			status_name: null
		}, {
			id: 360,
			title: "罗莱(lovo)雅高双层盖毯180x200cm(包邮)",
			thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/06/C7TI2I0POl0TR9snLi212pyNgm2vGN.png",
			price: "489.00",
			market_price: "699.00",
			status_name: null
		}, {
			id: 339,
			title: "广源良丝瓜水嫩乳液150ml(包邮)",
			thumb: "https://shanghubang2.oss-cn-shanghai.aliyuncs.com/images/5/2018/08/up495f4tp3SuWafsTfUxZWS5zb8A4w.png",
			price: "108.00",
			market_price: "138.00",
			status_name: null
		}],
		tip: "满足以下任意条件都可以成为推广员",
		getCostTotalNum: 4,
		getCostTotalPrice: "111.00",
		}]
  }

错误时返回:

  {
    "result": 0,
    "msg": "获取失败"
  }

返回参数说明:

参数名 类型 说明
id int(10)
become tinyint(1) 获得发展下线权利条件:0-无条件;1-申请;2-或;3-与
status tinyint(1) 启用关系链: 0关闭;1开启
become_order tinyint(1) 成为下线条件:0-付款后;1-完成后
become_child tinyint(1) 成为下线条件:0-首次点击分享链接;1-首次下单;2-首次付款
become_ordercount int(10) 消费达到: 订单
become_moneycount decimal(15,2) 消费达到: 元
become_goods_id string 获得发展下线权利条件:购买商品ID:
become_info tinyint(1)
become_check tinyint(1) 发展下线是否需要审核:1-需要;0-不需要
become_selfmoney decimal(15,2) 自购销售佣金累计达到
become_term varchar(255) 消费达到:2-订单;3-元
become_goods 获得发展下线权利条件:购买 商品
become_goods. id string 商品id
become_goods. title string 商品标题
become_goods. thumb string 商品图片
become_goods. price int(11) 商品现价
become_goods. market_price int(11) 商品原价
tip string 与或提示语
getCostTotalNum int 获取用户消费次数
getCostTotalPrice string 获取用户消费总额

备注:

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