Blogger Information
Blog 28
fans 0
comment 0
visits 65298
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
百度地图:"status":240,"message":"APP 服务被禁用"
蒸蒸
Original
12630 people have browsed it

使用百度地图的“路线规划API”中的驾车路线规划,返回状态码:240,message显示“APP 服务被禁用”
在百度地图官方WEB API服务文档—附录中,找到了相关状态码的说明和解决方法
WEB API服务文档链接地址:https://lbsyun.baidu.com/index.php?title=webapi/appendix

发现API服务被禁用的原因是:我的百度地图API控制台没有开通此项应用;点击链接,登录百度地图API控制台,新建应用,启用相关服务,之后就能成功返回数据了;
注意:新建应用之后,会生成一个新的ak,对应的api接口要填写这个新的ak才行

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post