限制key调用次数小于5万

This commit is contained in:
Jian Shen
2022-09-02 14:40:20 +08:00
parent 0b43cf414b
commit 20f7b2efc9
+8 -8
View File
@@ -6,14 +6,14 @@ import json
""" """
amap_key = {"4e9592208336433ee1b7aa4d1d434418", "10bcb421d2ee4e51ed9268d6dca58ad1"} amap_key = {"4e9592208336433ee1b7aa4d1d434418", "10bcb421d2ee4e51ed9268d6dca58ad1"}
service = {'v3/geocode/geo': 2900000, service = {'v3/geocode/geo': 49800,
'v3/geocode/regeo': 2900000, 'v3/geocode/regeo': 49800,
'v3/place/text': 290000, 'v3/place/text': 49800,
'v5/place/text': 290000, 'v5/place/text': 49800,
'v3/place/around': 290000, 'v3/place/around': 49800,
'v5/place/around': 290000, 'v5/place/around': 49800,
'v3/place/detail': 290000, 'v3/place/detail': 49800,
'v5/place/detail': 290000} 'v5/place/detail': 49800}
for service_key in service.keys(): for service_key in service.keys():
val = dict() val = dict()