2获取发布中的广播列表
说明
请求接口
/Broadcast/get_valid_lists?
http://app.14698.com/api.php/Broadcast/get_valid_lists?mid=52&password=343b1c4a3ea721b2d640fc8700db0f36
请求参数
| 参数 |
类型 |
必选 |
说明 |
| mid |
char |
是 |
用户编号 |
| password |
char |
是 |
密码md5 |
接口返回
正确
{
"err": 0,
"msg": "成功",
"content": [
{
"b_item_id": "39",
"bid": "5",
"lng": "114.17744099514000",
"lat": "22.59915942813700",
"aid": "107",
"bcommunication": "1",
"bvalid": "2",
"payment": "0",
"btime": "1482736377",
"etime": "1482995577",
"mtime": "1482822777",
"btype": "0",
"id": "5",
"order_no": "518429",
"content": "test来自7980",
"type": "0",
"mid": "61",
"isvalid": "0",
"ispublish": "1",
"isdelete": "0",
"modify_mid": "0",
"ctime": "1481530438",
"utime": "1480933250",
"operator": "",
"display_name": "随便逛逛",
"avatar": "http://app.14698.com/Public/img/car2.png",
"logo": "http://app.14698.com/Public/img/car2.png"
}
],
"more_data": ""
}
错误
{
"err": 1,
"msg": "账号密码不适配",
"content": "",
"more_data": ""
}
返回值说明
| 参数 |
类型 |
说明 |
| err |
int |
操作码,0代表成功 |
| b_item_id |
int |
广播的流水 id,停止广播需要用到 |
| btime |
int |
返回消息 |
| etime |
int |
返回消息 |
| content |
char |
广播内容 |
| nofree |
|
nofree=0 免费,1 付费 |