2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +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}`)) await e.reply(segment.image(`file://${msgPath}`))
return true; 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'}) let res=await fetch(url,{method:'get'})
try{ try{
res=await res.json() res=await res.json()