mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
修正地图查询接口调用问题
This commit is contained in:
parent
b16cf5d2f3
commit
04832ed6c2
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user