简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.instation-message.admin.message.get-team-dividend-level

传递的参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回的数据:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"level": [
			{
				"id": 6,
				"uniacid": 1,
				"level_name": "等级8",
				"level_weight": 8,
				"dividend_ratio": 30,
				"code_num": "a:5:{s:7:\"level_5\";s:1:\"0\";s:7:\"level_4\";s:1:\"0\";s:7:\"level_3\";s:1:\"0\";s:7:\"level_2\";s:1:\"0\";s:7:\"level_1\";s:1:\"0\";}",
				"award_hierarchy": 0,
				"award_ratio": "0",
				"created_at": "2019-05-23 10:00:11",
				"updated_at": "2019-05-23 10:00:11",
				"deleted_at": null,
				"upgrade_reward_point": "0.00",
				"upgrade_reward_gold": "0.00",
				"award_gratitude": "0",
				"hierarchy_limit": 1,
				"auto_withdraw_day": "0",
				"auto_withdraw_period": "0",
				"current_md": null
			},
			{
				"id": 5,
				"uniacid": 1,
				"level_name": "经销商等级五",
				"level_weight": 5,
				"dividend_ratio": 25,
				"code_num": "a:6:{s:7:\"level_6\";s:1:\"0\";s:7:\"level_5\";s:1:\"0\";s:7:\"level_4\";s:1:\"1\";s:7:\"level_3\";s:1:\"1\";s:7:\"level_2\";s:1:\"1\";s:7:\"level_1\";s:1:\"1\";}",
				"award_hierarchy": 2,
				"award_ratio": "10",
				"created_at": "2019-04-19 19:07:15",
				"updated_at": "2019-12-17 16:59:03",
				"deleted_at": null,
				"upgrade_reward_point": "10.00",
				"upgrade_reward_gold": "0.00",
				"award_gratitude": "10",
				"hierarchy_limit": 2,
				"auto_withdraw_day": "",
				"auto_withdraw_period": "",
				"current_md": null
			},
		]
	}
}

错误时返回:

{
	"result": 0,
	"msg": "未开启经销商管理插件",
	"data": []
}

返回参数说明:

参数名 类型 说明
level.id int 等级id
level.level_name string 等级名称

备注:

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