1const IndexSvc = new BaseSvc(); 2 3/* é å°¾ 4* */ 5IndexSvc.GetFooterData = async function () { 6 const url = util.GetUrl("/api/Index/footer"); 7 const init = this.getDefaultRequestInit("Get"); 8 return await parseResponse(await fetch(new Request(url, init))); 9}; 10 11/* é¦é 12* */ 13IndexSvc.GetIndexData = async function () { 14 const url = util.GetUrl("/api/Index/Index"); 15 const init = this.getDefaultRequestInit("Get"); 16 return await parseResponse(await fetch(new Request(url, init))); 17}; 18 19/* ææ°æ¶æ¯åé¡ 20* */ 21IndexSvc.GetNewsCategory = async function () { 22 const url = util.GetUrl("/api/Index/NewsCategory"); 23 const init = this.getDefaultRequestInit("Get"); 24 return await parseResponse(await fetch(new Request(url, init))); 25}; 26 27/* ææ°æ¶æ¯ 28* */ 29IndexSvc.GetNewsList = async function (category) { 30 const url = util.GetUrl(`/api/Index/NewsList/${category}`); 31 const init = this.getDefaultRequestInit("Get"); 32 return await parseResponse(await fetch(new Request(url, init))); 33}; 34 35/* ææ°æ¶æ¯åé¡ 36* */ 37IndexSvc.GetDownloadDocCategory = async function () { 38 const url = util.GetUrl("/api/Index/DownloadDocCategory"); 39 const init = this.getDefaultRequestInit("Get"); 40 return await parseResponse(await fetch(new Request(url, init))); 41}; 42 43/* ææ°æ¶æ¯ 44* */ 45IndexSvc.GetDownloadDocList = async function (category) { 46 const url = util.GetUrl(`/api/Index/DownloadDocList/${category}`); 47 const init = this.getDefaultRequestInit("Get"); 48 return await parseResponse(await fetch(new Request(url, init))); 49}; 50 51/* ç¸éé£çµ 52* */ 53IndexSvc.GetRelatedWeb = async function () { 54 const url = util.GetUrl("/api/Index/RelatedWeb"); 55 const init = this.getDefaultRequestInit("Get"); 56 return await parseResponse(await fetch(new Request(url, init))); 57}; 58 59/* SEO 60* */ 61IndexSvc.GetSeoData = async function () { 62 const url = util.GetUrl("/api/Index/SEO"); 63 const init = this.getDefaultRequestInit("Get"); 64 return await parseResponse(await fetch(new Request(url, init))); 65}; 66 67/* 帳æ¶è³è¨ 68* */ 69IndexSvc.GetUserData = async function () { 70 const url = util.GetUrl("/api/Auth/Read"); 71 const init = this.getDefaultRequestInit("Get"); 72 return await parseResponse(await fetch(new Request(url, init))); 73}; 74 75IndexSvc.BuildSignalSign = async function () { 76 let url = util.GetUrl(`/api/Auth/BuildSignalSign`); 77 let init = this.getDefaultRequestInit('Get'); 78 return await parseResponse(await fetch(new Request(url, init))); 79} 80 81/* ç»åº 82* */ 83IndexSvc.LogOut = async function () { 84 const url = util.GetUrl("/api/Auth/LogOut"); 85 const init = this.getDefaultRequestInit("Get"); 86 return await parseResponse(await fetch(new Request(url, init))); 87}; 88 89/* çæ´»å縣å¸å¤§æ¨ 90* */ 91IndexSvc.GetBuilding = async function () { 92 const url = util.GetUrl("/api/Building/Search/LifeZoneCityBuilding"); 93 const init = this.getDefaultRequestInit("Get"); 94 return await parseResponse(await fetch(new Request(url, init))); 95}; 96 97/* æ´æ°çè¦½æ¸ 98* */ 99IndexSvc.UpdatePageview = async function (newsID) { 100 const url = util.GetUrl(`/api/HousingNews/News/${newsID}/Pageview`); 101 const init = this.getDefaultRequestInit("Put"); 102 return await parseResponse(await fetch(new Request(url, init))); 103} 104 105/* ç¤¾å® æ¥è©¢Options 106* */ 107IndexSvc.GetSearchOptions = async function () { 108 const url = util.GetUrl("/api/Building/Search/Options"); 109 const init = this.getDefaultRequestInit("Get"); 110 return await parseResponse(await fetch(new Request(url, init))); 111}; 112 113/* å®å± å¥½å®¤ç¤¾å® å表 114* */ 115IndexSvc.GetGoodHouseList = async function () { 116 const url = util.GetUrl("/api/Building/Normal/List"); 117 const init = this.getDefaultRequestInit("Get"); 118 return await parseResponse(await fetch(new Request(url, init))); 119}; 120 121/* ä½¿ç¨æ¬ç¤¾å® å表 122* */ 123IndexSvc.GetUsageList = async function () { 124 const url = util.GetUrl("/api/Building/Usage/List"); 125 const init = this.getDefaultRequestInit("Get");
126 return await parseResponse(await fetch(new Request(url, init))); 127}; 128 129/* å®å± å¥½å®¤ç¤¾å® è©³ç´°è³æ 130* */ 131IndexSvc.GetGoodHouseDetail = async function (NO_BUILD) { 132 const url = util.GetUrl(`/api/Building/Normal/${NO_BUILD}/Detail`); 133 const init = this.getDefaultRequestInit("Get"); 134 return await parseResponse(await fetch(new Request(url, init))); 135}; 136 137/* å®å± å¥½å®¤ç¤¾å® è©³ç´°è³æ 138* */ 139IndexSvc.GetUsageDetail = async function (NO_BUILD) { 140 const url = util.GetUrl(`/api/Building/Usage/${NO_BUILD}/Detail`); 141 const init = this.getDefaultRequestInit("Get"); 142 return await parseResponse(await fetch(new Request(url, init))); 143}; 144 145/* 縣å¸éé®å表 146* */ 147IndexSvc.GetCityTown = async function () { 148 const url = util.GetUrl(`/api/Code/GetCityTown`); 149 const init = this.getDefaultRequestInit("Get"); 150 return await parseResponse(await fetch(new Request(url, init))); 151}; 152 153/* åå縣å¸åº§æ¨jsonåå¾ 154* */ 155IndexSvc.GetAreaCity = async function () { 156 const url = util.GetUrl(`/api/Index/AreaCity`); 157 const init = this.getDefaultRequestInit("Get"); 158 return await parseResponse(await fetch(new Request(url, init))); 159}; 160 161/* é¦é æ äºåå¾ 162* */ 163IndexSvc.GetStories = async function () { 164 const url = util.GetUrl(`/api/Index/Story`); 165 const init = this.getDefaultRequestInit("Get"); 166 return await parseResponse(await fetch(new Request(url, init))); 167}; 168 169/* é¦é ç¤¾å® æ¿çå¡çè³æ 170* */ 171IndexSvc.GetPolicyCards = async function () { 172 const url = util.GetUrl(`/api/Index/PolicyCards`); 173 const init = this.getDefaultRequestInit("Get"); 174 return await parseResponse(await fetch(new Request(url, init))); 175}; 176 177/* é¦é Modalç¹æ®æ¶æ¯ 178* */ 179IndexSvc.GetSpecialMessage = async function () { 180 const url = util.GetUrl(`/api/Index/SpecialMessage`); 181 const init = this.getDefaultRequestInit("Get"); 182 return await parseResponse(await fetch(new Request(url, init))); 183}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.