简要描述:

  • 让利涨粉-PC端-保存设置

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/plugin/DiscountHarvestFans/saveSet

请求类型

POST

参数:

参数名 是否必须 类型 说明
form int 表单对象,参数如下
``
		"is_open": 0,//设置是否开启,0否1是
		"discount_set": {
			"has_staff": {// 好友专享
				"is_open": 0,// 0否1是
				"numerical_type": {// 立减
					"order_amount": 0,// 满额
					"discount_amount": 0// 优惠
				},// numerical_type和percentage_type对象二传一,下面同样
				"percentage_type": {// 金额
					"order_amount": 0,
					"discount_amount": 0
				}
			},
			"first_staff": {// 首次添加好友
				"is_open": 0,// 0否1是
				"numerical_type": {
					"order_amount": 0,
					"discount_amount": 0
				},
				"percentage_type": {
					"order_amount": 0,
					"discount_amount": 0
				}
			}
		},
		"staff_set": [// 添加成员
			{
				"staff_id" : 1,// 员工id
				"staff_name" : "哈哈哈",// 员工名称
				"tag_id" : "wqerkjklsafklasjktler",// 标签tag_id
				"tag_name" : "标签名"// 标签名称
			},
			{
				"staff_id" : 1,
				"staff_name" : "哈哈哈",
				"tag_id" : "wqerkjklsafklasjktler",
				"tag_name" : "标签名"
			},
		],
		"link_open": 0// 自动发送商品链接,0否1是

返回示例:

正确时返回:


错误时返回: