简要描述:
- 获取语音地址
请求URL:
GET/plugin.store-cashier.frontend.boss.voice-broadcast.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
store_id | 是 | int | 门店id |
返回示例:
正确时返回:
{
result: 1,
msg: "地址",
data: {
url: "https://dev3.yunzshop.com/addons/yun_shop/storage/app/public/audio/2/AaAoKC8N8RJNcacPdDCe1nUn8ZNueR.mp3",
config: {
debug: false,
beta: false,
appId: "wx259392cca6bbcc82",
nonceStr: "FDhJzwFkFU",
timestamp: 1540439440,
url: "https://dev3.yunzshop.com/addons/yun_shop/api.php?i=2&type=5&shop_id=null&route=plugin.store-cashier.frontend.boss.voice-broadcast.index&store_id=31",
signature: "8b8de6813982f9e9608a487d5c49803863b9dd82",
jsApiList: [
"onMenuShareTimeline",
"onMenuShareAppMessage",
"showOptionMenu",
"scanQRCode"
]
}
}
}
错误时返回:
{
result: 0,
msg: "未找到连锁店信息",
data: [ ]
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
store_boss->has_one_member->nickname | string | 连锁店会员昵称 |
store_boss->has_one_member->avatar | string | 连锁店会员头像 |
store_boss->id | int | 连锁店老板id |
statistics->store_count | int | 门店数量 |
store_boss->order_count | int | 订单数量 |
store_boss->order_price | float | 订单金额 |
store_boss->amount_total | float | 收入金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述