Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一直是api调用上限,默认添加北京 #5

Closed
yishuifenglan opened this issue Sep 23, 2020 · 3 comments
Closed

一直是api调用上限,默认添加北京 #5

yishuifenglan opened this issue Sep 23, 2020 · 3 comments
Labels
API请求上线 高德 API 请求上线

Comments

@yishuifenglan
Copy link

No description provided.

@yishuifenglan
Copy link
Author

是不是因为你这个key有问题导致的呢,纯安卓小白,想知道怎么申请替换自己的key

@xiaweizi
Copy link
Owner

@yishuifenglan

之前因为把 key 暴露有人恶意刷直接导致我被封号,费了半天劲才解封,所以就把 key 跟注释掉了,你可以到高德上自己注册开发者账号,添加应用后替换项目中的 key 就好了

const String cityBaseUrl = "https://restapi.amap.com/v3/config/district?subdistrict=1&key=请使用自己的key&keywords=";
const String geoBaseUrl = "https://restapi.amap.com/v3/geocode/regeo?key=请使用自己的key&location=";

@xiaweizi xiaweizi pinned this issue Sep 23, 2020
@yishuifenglan
Copy link
Author

yishuifenglan commented Sep 23, 2020

非常感谢啊,原来是用自己的key就好了,感谢哈

@xiaweizi xiaweizi added the API请求上线 高德 API 请求上线 label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API请求上线 高德 API 请求上线
Projects
None yet
Development

No branches or pull requests

2 participants