#上传录音文件
接口地址
POST/qiongqiapi/addplayfile.php
参数说明:
编号 | 参数 | 必填 | 说明 |
---|---|---|---|
1 | appid | 是 | 应用ID |
2 | appsecret | 是 | 应用密码=公司密码 |
3 | appkey | 是 | 应用key=公司ID,如zmrh |
4 | voiceFile | 是 | 录音文件 |
5 | remarks | 是 | 备注名称 |
请求示例
http://xxx.xxx.xxx.xxx/qiongqiapi/addplayfile.php?appid=588d10b8-91a6-11ea-85ea-00163e0c8cf9&appsecret=123456&appkey=zmrh&remarks=testupload
返回信息
{
"status": "200",
"msg": "success",
"data": {
"app_play_url": "http://xxx.xxx.xxx.xxx/qiongqi/voice/588d10b8-91a6-11ea-85ea-00163e0c8cf9/15934119173964.wav"
}
}
返回参数
编号 | 参数 | 说明 |
---|---|---|
1 | status | 调用状态,参考状态说明 |
2 | msg | sucess 成功 failed 失败 |
3 | app_play_url | 返回录音播放路径 |