简要描述:

  • 统计结算

请求URL:

GET/plugin.store-cashier.frontend.app.store.statistic.statisticDeatil

参数:

参数名 是否必须 类型 说明
i int 公众号ID
yz_token str 用户token
is_time int 传1 今日数据,不传 全部数据

返回示例:

正确时返回:

{
	result: 1,
	msg: "统计数据成功",
	data: {
		id: 1,
		cashier_id: 9,
		receivable_price: "4,211.09",
		order_price: "4,210.07",
		finish_withdraw: "3,851.45",
		not_withdraw: "0.00",
		remard_buyer_point: "357.88",
		remard_buyer_love: "225.37",
		remard_store_point: "435.72",
		remard_store_love: "30.31",
		remard_buyer_coupon: 90,
		deduct_point: "114.10",
		deduct_love: "90.60",
		deduct_coupon: "20.00",
		love_name: "爱心值",
		is_open_love: 1,
		full_address: "",
		dispatch: "支持",
		average_score: 0,
		order_total: 289,
		validity_status_name: "入驻中"
	}
}

错误时返回:

{
	result: 0,
	msg: "未找到门店",
	data: [ ]
}
{
	result: 0,
	msg: "您已进入黑名单",
	data: [ ]
}
  

返回参数说明:

参数名 类型 说明
order_price float 累计订单金额
receivable_price float 应收款金额
finish_withdraw float 已提现金额
not_withdraw float 未结算金额
remard_buyer_point float 奖励会员积分数量
remard_buyer_love float 奖励会员云币数量
remard_store_point float 奖励商家积分数量
remard_store_love float 奖励商家云币数量
remard_buyer_coupon float 会员优惠券奖励数量
deduct_point float 积分抵扣
deduct_love float 云币抵扣
deduct_coupon float 优惠券抵扣
love_name str 爱心值自定义名称

备注:

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