2023-11-26 22:17:55 +08:00
|
|
|
const getArgs=(s)=>s.split('@@')
|
|
|
|
|
|
|
|
export default function handler(req,res){
|
2023-11-27 08:49:11 +08:00
|
|
|
const {body}=req;
|
2023-11-26 22:17:55 +08:00
|
|
|
res.status(200).json({
|
2023-11-27 08:49:11 +08:00
|
|
|
log: `Method: click\nArgs: ${body}\nStatus: returned the raw polylines`,
|
|
|
|
multipolyline: body,
|
2023-11-26 22:17:55 +08:00
|
|
|
});
|
|
|
|
}
|