2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

修正地图查询接口调用问题

This commit is contained in:
Ctrlcvs 2022-11-18 22:53:26 +08:00
parent b16cf5d2f3
commit 04832ed6c2

View File

@ -18,7 +18,7 @@ export async function genShenMap(e){
await e.reply(segment.image(`file://${msgPath}`))
return true;
}
let url=`https://map.minigg.cn/map/get_map?resource_name=${msg}&map_id=2&is_cluster=false`
let url=`https://map.minigg.cn/map/get_map?resource_name=${msg}&is_cluster=false`
let res=await fetch(url,{method:'get'})
try{
res=await res.json()