From d6594502ff2d695dbce152a00e58a332166e8a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E4=B8=93=E4=B8=9A=E5=89=8D=E7=AB=AF=E7=9A=84?= =?UTF-8?q?=E5=8D=8A=E6=A1=B6=E6=B0=B4=E6=8B=8D=E9=BB=84=E7=93=9C=E5=8E=A8?= =?UTF-8?q?=E5=AD=90=E5=A5=B6=E7=88=B8=F0=9F=91=A8=E2=80=8D=F0=9F=8D=BC?= Date: Wed, 15 May 2024 17:28:37 +0800 Subject: [PATCH] Update index.js --- js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 29abe8d..2c08f14 100644 --- a/js/index.js +++ b/js/index.js @@ -37,7 +37,8 @@ draw(district, bounds.$d, bounds.Je, bounds.Ne, bounds.Yd, zoom, city, searchtyp * draw(district, bounds.Le, bounds.Xd, bounds.He, bounds.Vd, zoom, city, searchtype, form, click,centerAndZoom) */ function draw(district, Le, Xd, He, Vd, zoom, city, searchtype, form, click, center, centerAndZoom) { - $.getJSON('https://dg.esf.fang.com/map/?mapmode=y&district=' + district + '&keyword=&orderby=30&x1=' + Le + '&y1=' + Xd + '&x2=' + He + '&y2=' + Vd + '&groupedmode=4&PageNo=1&zoom=' + zoom + '&a=ajaxSearch&city=' + city + '&searchtype=' + searchtype, function(data) { + //https://map.fang.com/ajaxSearch.html?city=&type=xf,esf,zf&xfPrice=&esfPrice=&zfPrice=&room=&area=&purpose=0&keyword=&zoom=4&newcodeType=&newcode=&pagingType=&pagingNum=1&x1=-89.33727345633645&x2=89.33727345633645&y1=-39.625258876947896&y2=39.625258876947896&subwayline=&subwaystation=&issamllcity=0&fapaiPrice=&fapaiPropertyType=&fapaiStage=&fapaiStatus= + $.getJSON('https://map.fang.com/ajaxSearch.html?district=' + district + '&keyword=&orderby=30&x1=' + Le + '&y1=' + Xd + '&x2=' + He + '&y2=' + Vd + '&groupedmode=4&PageNo=1&zoom=' + zoom + '&a=ajaxSearch&city=' + city + '&searchtype=' + searchtype, function(data) { if (form) { drawRectangle(data); } else {