简要描述:

统计图数据搜索

请求URL:

GET/plugin.shop-statistics.backend.balance.search-balance-statistic

请求参数说明:

参数名 类型 是否必须 说明
time int 搜索时间戳

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"balance_use_count": {
			"name": "可使用余额",
			"y_axis": [
				"1010228583.17",
				"1010228583.17",
				"1010228583.17",
				"1010228583.17",
				"1010228583.17",
				"1010228583.17",
				"1010228583.17"
			],
			"value": "1010228583.17",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		},
		"balance_used_count": {
			"name": "已使用余额",
			"y_axis": [
				"67969.11",
				"67969.11",
				"67969.11",
				"67969.11",
				"67969.11",
				"67969.11",
				"67969.11"
			],
			"value": "67969.11",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		},
		"balance_withdraw_count": {
			"name": "已提现余额",
			"y_axis": [
				"155120.50",
				"155120.50",
				"155120.50",
				"155120.50",
				"155120.50",
				"155120.50",
				"155120.50"
			],
			"value": "155120.50",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		},
		"balance_income_count": {
			"name": "收入余额",
			"y_axis": [
				"355.25",
				"355.25",
				"355.25",
				"355.25",
				"355.25",
				"355.25",
				"355.25"
			],
			"value": "355.25",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		},
		"balance_recharge_count": {
			"name": "后台充值",
			"y_axis": [
				"1010449920.00",
				"1010449920.00",
				"1010449920.00",
				"1010449920.00",
				"1010449920.00",
				"1010449920.00",
				"1010449920.00"
			],
			"value": "1010449920.00",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		},
		"balance_member_recharge_count": {
			"name": "会员充值",
			"y_axis": [
				"800.05",
				"800.05",
				"800.05",
				"800.05",
				"800.05",
				"800.05",
				"800.05"
			],
			"value": "800.05",
			"x_axis": [
				"07/16",
				"07/17",
				"07/18",
				"07/19",
				"07/20",
				"07/21",
				"07/22"
			]
		}
	}
}

返回参数说明:

参数名 类型 说明
name string 余额数据类型名
value int/float 该类型数据在搜索时间内的值
x_axis array 该统计数据类型x轴数据
y_axis array 该统计数据类型y轴数据