Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

进入/api/index/,报 百度未授权使用地图API #152

Open
yinzhuoqun opened this issue May 21, 2019 · 2 comments
Open

进入/api/index/,报 百度未授权使用地图API #152

yinzhuoqun opened this issue May 21, 2019 · 2 comments

Comments

@yinzhuoqun
Copy link

百度未授权使用地图API,可能是因为您提供的密钥不是有效的百度LBS开放平台密钥,或此密钥未对本应用的百度地图JavaScriptAPI授权。您可以访问如下网址了解如何获取有效的密钥:http://lbsyun.baidu.com/apiconsole/key#。

@sunmoondeer
Copy link

这个百度一下就可以解决了,注册一个开放着账号,申请一个key,在替换一下就可以了

@yinzhuoqun
Copy link
Author

yinzhuoqun commented May 22, 2019

这个百度一下就可以解决了,注册一个开发者账号,申请一个key,在替换一下就可以了

引用位置:HttpRunnerManager/templates/index.html 39 行,<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ZUONbpqGBsYGXNIYHicvbAbM"></script>

把 AK 值换成自己的就行了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants