修改key限制

This commit is contained in:
Jian Shen
2022-10-11 09:27:50 +08:00
parent 0d7f28aa28
commit 1049b28a86
+12 -9
View File
@@ -4,16 +4,19 @@ import json
""" """
高德key每日定时生成 高德key每日定时生成
""" """
amap_key = {"4e9592208336433ee1b7aa4d1d434418", "10bcb421d2ee4e51ed9268d6dca58ad1"} #amap_key = {"4e9592208336433ee1b7aa4d1d434418", "10bcb421d2ee4e51ed9268d6dca58ad1"}
service = {'v3/geocode/geo': 200000, #老板新注册key,限制15万
'v3/geocode/regeo': 200000, amap_key = {"6e7b0b0539ff51a714678cd69183fe32"}
'v3/place/text': 200000,
'v5/place/text': 200000, service = {'v3/geocode/geo': 150000,
'v3/place/around': 200000, 'v3/geocode/regeo': 150000,
'v5/place/around': 200000, 'v3/place/text': 150000,
'v3/place/detail': 200000, 'v5/place/text': 150000,
'v5/place/detail': 200000} 'v3/place/around': 150000,
'v5/place/around': 150000,
'v3/place/detail': 150000,
'v5/place/detail': 150000}
for service_key in service.keys(): for service_key in service.keys():
val = dict() val = dict()