简要描述:

  • 子门店信息

请求URL:

GET/plugin.store-cashier.frontend.boss.child-store.index

参数:

参数名 是否必须 类型 说明
store_id int 门店id

返回示例:

正确时返回:

{
	result: 1,
	msg: "成功",
	data: {
		store: {
			id: 1,
			store_name: "Joe的店",
			thumb: "http://test-1251768088.cosgz.myqcloud.com/images/3/2018/05/w50mOuX9bMSDXbhG01GD1g0t9mmuhM.jpg",
			cashier_id: 9
		},
		statistics: {
			order_count: 456,
			amount_total: 74480.89
		}
	}
}

错误时返回:

{
	result: 0,
	msg: "参数错误store_id",
	data: [ ]
}
{
	result: 0,
	msg: "未找到门店信息",
	data: [ ]
}

返回参数说明:

参数名 类型 说明
store->id int 门店id
store->store_name str 门店名称
store->thumb str 门店图片
store->cashier_id int 收银台id
statistics->order_count int 订单数量
statistics->amount_total float 收入金额

备注:

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