From 322f7ab0413c9adfb28674251e3d7bc326b983bd Mon Sep 17 00:00:00 2001 From: Jian Shen Date: Thu, 10 Mar 2022 17:59:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A1=AB=E5=85=85=E5=9F=8E=E4=B9=A1?= =?UTF-8?q?=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shenjian/address/FillAgriculture.groovy | 86 +++++++++++-------- 1 file changed, 52 insertions(+), 34 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/address/FillAgriculture.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/address/FillAgriculture.groovy index 99acbc19c..7993a0b8f 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/address/FillAgriculture.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/address/FillAgriculture.groovy @@ -15,42 +15,60 @@ ExcelUtils.multiThreadingModify("D:\\Users\\Domi\\Documents\\知识 def province = item['D'] def city = item['E'] def area = item['F'] - def township = item['G'] - def community = item['H'] + String township = item['G'] + String community = item['H'] if (StringUtils.isBlank(city)) { return ; } - if (ProvinceData.isGovernmentCity(city)) { - townConn.find(new BasicDBObject("province", "重庆市") - .append("region", area + "区") - .append("street", township) - .append("juweihui", community), new BasicDBObject()).limit(1).each { - obj -> - item['T'] = obj.juweihui_type - } - if (item['T'] == null) { - townConn.find(new BasicDBObject("province", "重庆市") - .append("region", area + "区") - .append("juweihui", community), new BasicDBObject()).limit(1).each { - obj -> - item['T'] = obj.juweihui_type - } - } - } else { - townConn.find(new BasicDBObject("city", city + "市") - .append("region", area + "区") - .append("street", township) - .append("juweihui", community), new BasicDBObject()).limit(1).each { - obj -> - item['T'] = obj.juweihui_type - } - if (item['T'] == null) { - townConn.find(new BasicDBObject("city", city + "市") - .append("region", area + "区") - .append("juweihui", community), new BasicDBObject()).limit(1).each { - obj -> - item['T'] = obj.juweihui_type - } - } + if (item['T'] != null) { + return ; } +// if (community == null) { +// return ; +// } + if (township) { + if (township.endsWith("镇") || township.endsWith("乡")) { + item['T'] = 2 + } else if (township.endsWith("街道")) { + item['T'] = 1 + } + } +// community = community.replaceAll("居委会", "") +// community = community.replaceAll("居民委员会", "") +// community = community.replaceAll("村民委员会", "") +// community = community.replaceAll("村委会", "") +// +// if (ProvinceData.isGovernmentCity(city)) { +// townConn.find(new BasicDBObject("province", "重庆市") +// .append("region", area + "区") +// .append("street", township) +// .append("juweihui", new BasicDBObject('$regex', "^" + community)), new BasicDBObject()).limit(1).each { +// obj -> +// item['T'] = obj.juweihui_type +// } +// if (item['T'] == null) { +// townConn.find(new BasicDBObject("province", "重庆市") +// .append("region", area + "区") +// .append("juweihui", new BasicDBObject('$regex', "^" + community)), new BasicDBObject()).limit(1).each { +// obj -> +// item['T'] = obj.juweihui_type +// } +// } +// } else { +// townConn.find(new BasicDBObject("city", city + "市") +// .append("region", area + "区") +// .append("street", township) +// .append("juweihui", new BasicDBObject('$regex', "^" + community)), new BasicDBObject()).limit(1).each { +// obj -> +// item['T'] = obj.juweihui_type +// } +// if (item['T'] == null) { +// townConn.find(new BasicDBObject("city", city + "市") +// .append("region", area + "区") +// .append("juweihui", new BasicDBObject('$regex', "^" + community)), new BasicDBObject()).limit(1).each { +// obj -> +// item['T'] = obj.juweihui_type +// } +// } +// } }) From 677292c7361e6b70b09b21eb3ab03ef32da5e3e5 Mon Sep 17 00:00:00 2001 From: Jian Shen Date: Sun, 13 Mar 2022 12:05:01 +0800 Subject: [PATCH 2/3] =?UTF-8?q?year=E6=94=B9=E4=B8=BA2021?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fangjia/script/temp/shenjian/poi/CommitteeLatLng.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/poi/CommitteeLatLng.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/poi/CommitteeLatLng.groovy index c7a92ae8e..c1a7d36eb 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/poi/CommitteeLatLng.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/poi/CommitteeLatLng.groovy @@ -21,10 +21,10 @@ import java.util.concurrent.Executors class CommitteeLatLng { static DBCollection villagesConn = MongoUtils.getCollectionByName("fangjia", "villages", "192.168.0.43", 28017) - static ExecutorService executorService = Executors.newFixedThreadPool(20) + static ExecutorService executorService = Executors.newFixedThreadPool(10) static void main(String[] args) { - dealPoi(new BasicDBObject("status_location", new BasicDBObject('$ne', 0)).append("name", "席庄二村委会")) + dealPoi(new BasicDBObject("status_location", new BasicDBObject('$ne', 0)).append("year", 2021)) //dealLocation() executorService.shutdown() } From 24cddd20fe3fb79a0061ac088b6064921c3897f0 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Mon, 21 Mar 2022 13:59:14 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=88=BF=E6=BA=90=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ccbevaluation/BigdataForsaleBatch.groovy | 2 +- .../script/ccbevaluation/TradeStatLog.groovy | 16 +- .../ccbevaluation/data/ExcelDataTest.groovy | 144 +++++++-- .../ccbevaluation/data/MatchMapData.groovy | 50 +++- .../data/TradeDistrictToDB.groovy | 198 +++++++++++++ .../script/commData/CommonDatautils.groovy | 18 +- .../fangjia/script/fuzhou/ThirdTest.groovy | 278 ++++++++++++++++++ .../fangjia/script/gj/YouDaDataParser.groovy | 11 +- .../gj/paimai/BeiKeCrawlByChrome.groovy | 8 +- .../script/gj/paimai/GaoDeUtils.groovy | 3 +- .../gj/paimai/LianjiaCrawlByChrome.groovy | 7 +- .../script/thirdPriceCrawl/DataStat.groovy | 6 +- .../script/thirdPriceCrawl/Esf58Crawl.groovy | 30 +- .../thirdPriceCrawl/SynchDistrictPrice.groovy | 4 +- 14 files changed, 707 insertions(+), 68 deletions(-) create mode 100644 projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/TradeDistrictToDB.groovy create mode 100644 projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/ThirdTest.groovy diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataForsaleBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataForsaleBatch.groovy index b715ccdde..2749ed7f4 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataForsaleBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/BigdataForsaleBatch.groovy @@ -74,7 +74,7 @@ class BigdataForsaleBatch extends BaseBatch{ // def distIds = getDistrictIds(cityCodeDataMap.get(city)) def distCodeMap = CcbCommonUtils.findAllDistrictCodeValue(city) def districts = CcbCommonUtils.findAllDistrictByCity(city, "district", ["city", "region", "name", "lng","estate_type2","name_cat","address", "alias", "finish_building_date", "house_property", "property_life", "build_type", "build_structure"]); - exportSellCSV(index, city, cityCodeDataMap, distCodeMap, districts, 20220118, 20220219); + exportSellCSV(index, city, cityCodeDataMap, distCodeMap, districts, 20220218, 20220319); // exportSellCSV(index, city, cityCodeDataMap, distCodeMap, districts, 20210801, 20210831); //测试通过匹配接口配房源效果 // exportSellCSV(index, city, cityCodeDataMap, distCodeMap, districts, 20201201, 20211118) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/TradeStatLog.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/TradeStatLog.groovy index 621eac1ee..778b9c5ea 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/TradeStatLog.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/TradeStatLog.groovy @@ -40,7 +40,7 @@ class TradeStatLog { static main(args) { def task = new TradeStatLog() -// task.run()//统计最近3个月抓取的成交数据量 + task.run()//统计最近3个月抓取的成交数据量 // task.exportTrade()//导出未入库成交 // task.thirdPartyStat() // println Calendar.getInstance().get(Calendar.YEAR) @@ -49,7 +49,7 @@ class TradeStatLog { // task.deleteDealData() // task.deleteDealData2() // task.statTableCount() - task.filterTrade() +// task.filterTrade() } @@ -75,13 +75,13 @@ class TradeStatLog { def run(){ def citys = CcbCommonUtils.citys; def rets = [] - rets << ["城市","11月总量","12月总量","1月总量","占比","贝壳","链家", "我爱我家","房天下","中原"] + rets << ["城市","12月总量","1月总量","2月总量","占比","贝壳","链家", "我爱我家","房天下","中原"] def sources = ["贝壳找房","链家在线", "我爱我家","房天下","中原地产"] //def startDate = "2021-05-01" - def startDate = "2021-11-01" - def date = "2021-12-01" - def endDate = "2022-01-01" - def newDate = "2022-02-01" + def startDate = "2021-12-01" + def date = "2022-01-01" + def endDate = "2022-02-01" + def newDate = "2022-03-01" for(def city : citys){ def lastMonthCount = findTradesCount(city, null, DateUtils.parseFromTightByPattern(startDate,"yyyy-MM-dd"), DateUtils.parseFromTightByPattern(date,"yyyy-MM-dd")) @@ -131,7 +131,7 @@ class TradeStatLog { } - ExcelUtils.write("D:\\数据\\建行\\房产估值\\成交\\2022-01成交统计.xlsx", rets, "数据") + ExcelUtils.write("D:\\数据\\建行\\房产估值\\成交\\2022-02成交统计.xlsx", rets, "数据") println "表格生成完成" } diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/ExcelDataTest.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/ExcelDataTest.groovy index 8fc309322..be649cf9d 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/ExcelDataTest.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/ExcelDataTest.groovy @@ -1,25 +1,123 @@ package com.fangjia.script.ccbevaluation.data import com.fangjia.core.RegionData +import com.fangjia.script.ccbevaluation.CcbCommonUtils import com.fangjia.script.commData.CommonDatautils import com.fangjia.script.gj.district.SeaweedDataMatchProcess import com.fangjia.script.util.CommonUtils import com.fangjia.script.util.DateUtils import com.fangjia.script.util.DbUtils +import com.fangjia.script.util.ElasticUtils import com.fangjia.script.util.ExcelUtils import com.fangjia.script.util.GeoHelper import com.fangjia.script.util.MongoUtils import com.mongodb.BasicDBObject import com.mongodb.DBCollection import com.mongodb.DBObject +import com.mongodb.QueryOperators import groovy.sql.Sql DBCollection DEAL_PRICE = MongoUtils.getCollectionByName("fangjia", "deal_price", "192.168.0.43") +DBCollection CITY_STAT = MongoUtils.getCollectionByName("fangjia_stat", "city_stat", "192.168.0.43") +DBCollection CITY_INFO = MongoUtils.getCollectionByName("fangjia_data_ana", "city_info", "192.168.0.43") +DBCollection DEAL_PRICE_COLL = MongoUtils.getCollectionByName("fangjia", "deal_price", "192.168.0.43") def sqlInstance = Sql.newInstance("jdbc:oracle:thin:@192.168.0.236:1521:orcl", "GOOJIA", "GOOJIA", "oracle.jdbc.driver.OracleDriver") + +def ZS_MONGODB_URL = "mongodb://admin:G00MONGOADMIN@192.168.0.100:30009"; +DBCollection COMMUNITY_CONN = MongoUtils.getCollectionByName2("fangjia", "community", ZS_MONGODB_URL) + + + +ExcelUtils.multiThreadingModify("C:\\Users\\gaojuan\\Desktop\\city.xlsx",{d-> + if(d['B']){ + //def avg_price =CommonDatautils.queryCityPrice(d['B']) + //d['C'] = avg_price + +// def q = new BasicDBObject() +// q.put("area_name",new BasicDBObject( '$regex' , d['B'].replace("州","")+/.*$/)) +// def obj = COMMUNITY_CONN.findOne(q) +// if(obj){ +// d['D'] = obj.area_code +// println obj.area_name +" "+obj.area_code +// } + + //def obj = findDistrictPriceCount(d['B'], DateUtils.parseFromTightByPattern("2022-03-13","yyyy-MM-dd"), CITY_INFO) +// d['D'] = CommonDatautils.findAllDistrictCount("district", d['B']) +// d['E'] = findHouseCount(d['B'], 20210101, 20211231) +// +// def startDate = DateUtils.parseFromTightByPattern("2021-01-01", "yyyy-MM-dd") +// def endDate = DateUtils.parseFromTightByPattern("2021-12-31", "yyyy-MM-dd") +// def deals = findTradesDetailById(d['B'], startDate,endDate, DEAL_PRICE_COLL) +// d['F'] = deals.size() + + def cityCodeDataMap = CcbCommonUtils.findCityCodeValue() + d['G'] = findCcbDistCount(cityCodeDataMap.get(d['B']), sqlInstance) + } +},0) + +def findCcbDistCount(cityid, sqlInstance){ + + def sql = "select count(*) as count from bigdata_community_gj where cityId='${cityid}' and status=0 "; + def total = null + sqlInstance.eachRow(sql,{r-> + total = r.count + }) + return total +} + + +public static def findTradesDetailById(city, startDate, endDate, DEAL_PRICE_COLL){ + def q = new BasicDBObject() + q.put("city", city) + q.put("area", new BasicDBObject('$gte', 20)) + q.put("avg_price", new BasicDBObject('$gt', 0)) + q.put("trade_date", new BasicDBObject('$gte', startDate).append('$lte',endDate)) + def dbcursor = DEAL_PRICE_COLL.find(q) + def total = dbcursor.count() + def rets = new HashSet() + def lists = [] + for(def d : dbcursor){ + def key=d.city+"##"+d.match_region+"##"+d.district_name+"##"+d.area+"##"+d.avg_price+"##"+DateUtils.formatDateByPattern(d.trade_date,"yyyy-MM-dd") + if(!rets.contains(key)){ + rets << key + lists << d + } + } + return lists +} + + + +def findHouseCount(def city, def startDate, def endDate){ + def aliasStr = null; + def total = 0 + try{ + + String sql = "select count(*) as c from latest_seawater where cat='sell' and city='${city}' and p_date >= ${startDate} and p_date<${endDate} " + ElasticUtils.executeSqlQuery(sql,{ data-> + total = data.c + }) + }catch(Exception e){ + e.printStackTrace() + } + + return total +} + +def findDistrictPriceCount(def city, def weekend, def CITY_INFO){ + def q = new BasicDBObject() + q.put("city", city) + q.put("weekend", weekend) + def obj = CITY_INFO.findOne(city) + return obj +} + + + //ExcelUtils.multiThreadingModify("D:\\数据\\建行\\房产估值\\小区\\人工核实_8511.xlsx", { d -> // def newRegion = RegionData.formatRegion(d['A'], d['B']) // if(newRegion && !d['K']) { @@ -475,26 +573,26 @@ def city = " // //}) -ExcelUtils.modify("D:\\数据\\建行\\房产估值\\小区\\删除映射别名数据的副本.xlsx", { d -> - if(d['A']){ - def dist = CommonDatautils.findDistrictById(d['A']) - if(dist){ - def mappingAlias = dist.mapping_alias - if(mappingAlias){ - if(mappingAlias.contains(d['B'])){ - mappingAlias.remove(d['B']) - DBObject udata = new BasicDBObject(); - udata.put("mapping_alias", mappingAlias); - udata.put("m_date", new Date()); - DbUtils.seaweed.update(new BasicDBObject("_id", d['A']), new BasicDBObject('$set', udata)) - }else{ - println d['A']+"无映射别名" - } - }else{ - println d['A']+"映射别名为空" - } - }else{ - println d['A']+"没找到" - } - } -}) \ No newline at end of file +//ExcelUtils.modify("D:\\数据\\建行\\房产估值\\小区\\删除映射别名数据的副本.xlsx", { d -> +// if(d['A']){ +// def dist = CommonDatautils.findDistrictById(d['A']) +// if(dist){ +// def mappingAlias = dist.mapping_alias +// if(mappingAlias){ +// if(mappingAlias.contains(d['B'])){ +// mappingAlias.remove(d['B']) +// DBObject udata = new BasicDBObject(); +// udata.put("mapping_alias", mappingAlias); +// udata.put("m_date", new Date()); +// DbUtils.seaweed.update(new BasicDBObject("_id", d['A']), new BasicDBObject('$set', udata)) +// }else{ +// println d['A']+"无映射别名" +// } +// }else{ +// println d['A']+"映射别名为空" +// } +// }else{ +// println d['A']+"没找到" +// } +// } +//}) \ No newline at end of file diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/MatchMapData.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/MatchMapData.groovy index 5e58e7b38..2f5d02c2f 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/MatchMapData.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/MatchMapData.groovy @@ -30,15 +30,63 @@ class MatchMapData { static main(args) { def task = new MatchMapData() - task.run() +// task.run() // task.run1() // task.run2() // task.run3() // task.exportHouse() // task.addDistrictLevel() + task.run4() } + def run4() { + ExcelUtils.multiThreadingModify("D:\\数据\\建行\\房产估值\\小区\\核实小区是否存在.xlsx", { d -> + def regionCode = null + if (d['A']) { + def region = d['B'] + def newRegion = RegionData.formatRegion(d['A'], region) + if (newRegion) { + regionCode = getRegionCode(newRegion) + def dist = CommonDatautils.findDistrict(d['A'], newRegion, d['C'], "district") + if (dist) { + d['F'] = "完全一致" + d['E'] = dist.name + d['D'] = dist.name_cat + d['G'] = dist.estate_type2 + } else { + dist = CommonDatautils.findSeaweedByMappingAlias(d['A'], newRegion, d['C'], "district") + if (dist) { + d['F'] = "映射别名" + d['E'] = dist.name + d['D'] = dist.name_cat + d['G'] = dist.estate_type2 + } else { + def rets = CommonDatautils.findDistrictByAlias(d['A'], newRegion, d['C'], "district") + if (rets) { + if(rets.size()>1){ + d['F'] = "别名-多个" + }else{ + d['F'] = "别名" + } + } + if (rets) { + dist = rets[0] + } + if (dist) { + d['F'] = "完全一致" + d['E'] = dist.name + d['D'] = dist.name_cat + d['G'] = dist.estate_type2 + } + } + } + } + } + + }, 0) + } + def run3(){ def files = ["合肥融合匹配_1215.xlsx"] diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/TradeDistrictToDB.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/TradeDistrictToDB.groovy new file mode 100644 index 000000000..274497135 --- /dev/null +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/data/TradeDistrictToDB.groovy @@ -0,0 +1,198 @@ +package com.fangjia.script.ccbevaluation.data + +import com.fangjia.core.RegionData +import com.fangjia.core.util.BaiDuApiUtils +import com.fangjia.script.commData.CommonDatautils +import com.fangjia.script.common.DataHandleUtils +import com.fangjia.script.gj.OpenApiUtils +import com.fangjia.script.gj.district.FangjiaClientUtils +import com.fangjia.script.linxsh.util.AddressUtil +import com.fangjia.script.util.CosineSimilarAlgorithm +import com.fangjia.script.util.DbUtils +import com.fangjia.script.util.ExcelUtils +import com.mongodb.BasicDBObject + +class TradeDistrictToDB { + static main(args) { + def task = new TradeDistrictToDB(); +// task.run() + task.run1() + } + + def run1(){ + def index = 0 + def keys = [] + ExcelUtils.modify("D:\\数据\\建行\\建行成交\\成交未入库记录(12月)-新增.xlsx", { d -> + if(d['D']){ + def key = d['A']+"##"+d['D']+"##"+d['C'] + if(!keys.contains(key)){ + def formatAddress = null + if(d['G']){ + formatAddress = AddressUtil.formatAddress(d['A'], d['F']) + } + + Long glat = null + Long glng = null + Long blat = null + Long blng = null + if(d['G']){ + glat = d['H'].toString().toDouble() * 10000000000L + glng = d['G'].toString().toDouble() * 10000000000L + def baidu = BaiDuApiUtils.geoconv(d['G'].toString().toDouble(), d['H'].toString().toDouble(), 3) + blng = baidu.x * 10000000000L + blat = baidu.y * 10000000000L + } + + def name = d['C'].replace("·","").replace("II","二") + def estateType2 = "普通住宅" + if(name.contains("别墅")){ + estateType2 = "别墅" + }else if(name.contains("商住")){ + estateType2 = "商住" + } + + keys << key + if(name){ + def dist = CommonDatautils.findDistrict(d['A'], d['D'], name, "district") + if(!dist){ + def data = new BasicDBObject(); + data.put("name_cat",0) + data.put("status",0) + data.put("cat","district") + data.put("c_date", new Date()) + data.put("m_date", new Date()) + data.put("city", d['A']) + data.put("region",d['D']) + data.put("name", name) + data.put("estate_type2",estateType2) + data.put("address", formatAddress) + if(glat){ + data.put("lat",glat) + data.put("lng",glng) + data.put("lat2",blat) + data.put("lng2",blng) + } + + def markMap = [:] + markMap.put("data_source", "机器入库") + data.put("mark_map",markMap) + index++ + DbUtils.seaweed.save(data); + FangjiaClientUtils.sendDistrictPriceCalculate(d['A'], d['D'], d['C'], 4); + println index+" "+data + + } + } + } + } + },0) + } + def run() { + def index = 0 + ExcelUtils.multiThreadingModify("D:\\数据\\建行\\建行成交\\成交未入库记录(12月)-新增.xlsx", { d -> + def city = d['A'] + def region = d['B'] + def newRegion = RegionData.formatRegion(city, region) + if (newRegion) { + def map = findMapData(city, newRegion, d['C']) + if(map){ + d['D'] = newRegion + d['E'] = map.name + d['F'] = map.address + d['G'] = map.lng + d['H'] = map.lat + d['I'] = map.lng2 + d['J'] = map.lag2 + } + } + }, 0); + } + + def findMapData(def city, def region, name){ + def rets = OpenApiUtils.getGaoDeSearchLocation(city, region, name) + def map = findStandardObject2(city, region, name, null, rets); + if (!map || !map.lat) { + rets = OpenApiUtils.getBiDuLocation(city, region, name); + map = findStandardObject2(city, region, name, null, rets); + } + return map; + } + + + def findStandardObject2(def city, def region, def name, def address, def rets) { + if (rets) { + def bestObj = [:] + if (rets.size() >= 1) { + for (def mapObj : rets) { + def score = 0 + if((mapObj.adname && mapObj.adname.contains(region)) || (mapObj.region && mapObj.region.contains(region))){ + score = 0.2 + } + if(mapObj.name && name){ + def newName = mapObj.name; + def names = [] + if(mapObj.name && mapObj.name.indexOf("(")>-1){ + def name1 = mapObj.name.substring(0, mapObj.name.indexOf("(")) + names << name1 + def name2 = mapObj.name.substring(mapObj.name.indexOf("(")+1, mapObj.name.indexOf(")")) + names << name2 + }else{ + names << newName + } + def maxNameScore = 0 + for(def n : names){ + double score1 = CosineSimilarAlgorithm.getSimilarity(n, name); + if(score1 && score1>0){ + def nameScore = (score1 * 4)/10 + if(nameScore > maxNameScore){ + maxNameScore = nameScore + } + } + } + + if(maxNameScore){ + try{ + maxNameScore = DataHandleUtils.getDoubleRound(2, maxNameScore) + }catch(Exception e){ + maxNameScore = 0 + } + + } + score = maxNameScore + score; + } + + if(mapObj.address && address){ + double addressScore = CosineSimilarAlgorithm.getSimilarity(mapObj.address, address); + if(addressScore && addressScore>0){ + try{ + addressScore = DataHandleUtils.getDoubleRound(2, addressScore) + }catch(Exception e){ + addressScore = 0 + } + score = addressScore*4/10 + score + } + } + + if(!bestObj){ + mapObj.score = score + bestObj = mapObj + }else{ + if(score > bestObj.score){ + mapObj.score = score + bestObj = mapObj + } + } + + } + } + return bestObj + } + return null + + } + + + + +} + diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/commData/CommonDatautils.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/commData/CommonDatautils.groovy index dd91fbeaf..ef344bc84 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/commData/CommonDatautils.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/commData/CommonDatautils.groovy @@ -218,7 +218,6 @@ class CommonDatautils { q.put("visible", 0); q.put("cat", cat); q.put("city", city); -// q.put("name","玉泉路甲46号院") DBObject keys = new BasicDBObject(); if(fields){ @@ -918,6 +917,23 @@ class CommonDatautils { } return ret; } + + public static def findDistrictsByCityAndName(String city, String name, String cat){ + DBObject q = new BasicDBObject(); + q.put("city", city); + q.put("cat", cat); + q.put("name", name); + q.put("visible", 0); + + def list = [] + DSCursor cursor = getDataStoreConnection().find(q); + if(cursor){ + for(def obj : cursor){ + list << obj; + } + } + return list; + } public static def findDistrict(String city, String name, String cat){ diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/ThirdTest.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/ThirdTest.groovy new file mode 100644 index 000000000..22604b2ec --- /dev/null +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/ThirdTest.groovy @@ -0,0 +1,278 @@ +package com.fangjia.script.fuzhou + +import com.fangjia.script.commData.CommonDatautils +import com.fangjia.script.thirdPriceCrawl.CrawalDBUtil +import com.fangjia.script.thirdPriceCrawl.CrawalUtil +import com.fangjia.script.util.ExcelUtils +import com.fangjia.script.util.MongoUtils +import com.mongodb.BasicDBObject +import com.mongodb.DBCollection +import com.mongodb.DBObject +import net.sf.json.JSONObject +import org.apache.commons.io.FileUtils +import com.fangjia.script.gj.district.SeaweedDataMatchProcess + +import java.util.concurrent.CountDownLatch + +class ThirdTest { + + DBCollection AVERAGE_STATISTICS = MongoUtils.getCollectionByName("fangjia", "average_statistics", "192.168.0.43") + def thirdPartyColl = CrawalDBUtil.getThirdPartyCol(); + + static main(args) { + def task = new ThirdTest() +// task.run() +// task.run1() + task.run3() +// task.run4() + + } + + def run4(){ + ExcelUtils.multiThreadingModify("D:\\数据\\福州\\福州\\房价网数据-公司方提供.xlsx", { d -> + if (!d['C']) { +// def name = d['A'].replace("(钢混)","").replace("(非钢混)","").replace("(混合)","") +// def lists = CommonDatautils.findDistrictsByCityAndName("福州",name, "district") +// if(lists){ +// for(def o : lists){ +//// if(d['B'] && d['B'].toString().contains(o.address)){ +// d['C'] = o.region +// d['D'] = o.name +// d['E'] = "名称去括号中的字" +//// } +// } +// } + def rMap = SeaweedDataMatchProcess.doMatch("福州", null, d['A'], d['B']); + if(rMap){ + d['C'] = rMap.region + d['D'] = rMap.name + d['E'] = "匹配接口" + } + + } + },0) + } + + + def run3() { +// ExcelUtils.multiThreadingModify("D:\\数据\\福州\\福州\\房价网数据-公司方提供.xlsx", { d -> +// if(!d['F']){ +// def price = CommonDatautils.queryDistrictPrice("福州",d['C'], d['D']) +// d['F'] = price +// } +// },0) +// List list1= FileUtils.readLines(new File("D:\\数据\\福州\\FJW_DISTRICT_STAT_202202.csv")) +// def map1 = [:] +// for(def s : list1){ +// def row = s.split("@\\|@") +// def key = row[2]+"##"+row[3]+"##"+row[4] +// map1.put(key, row[5]) +// } + + List list1= FileUtils.readLines(new File("D:\\数据\\福州\\FJW_THIRD_PARTY_AVG_PRICE_202202.csv")) + def map1 = [:] + for(def str : list1){ + def s = str.split("@\\|@") + def key = s[2]+"##"+s[3]+"##"+s[4] + def priceMap = [:] + map1.put(key, priceMap) + + if(s.size()>=7 && s[6]){ + priceMap.put("zhugezhaofang", s[6]) + } + + if(s.size()>=8 && s[7]){ + priceMap.put("anjuke", s[7]) + } + + if(s.size()>=9 && s[8]){ + priceMap.put("soufang", s[8]) + } + + if(s.size()>=10 && s[9]){ + priceMap.put("lianjia", s[9]) + } + + if(s.size()>=11 && s[10]){ + priceMap.put("cityhouse", s[10]) + } + + if(s.size()>=12 && s[11]){ + priceMap.put("fangtan", s[11]) + } + + if(s.size()>=13 && s[12]){ + priceMap.put("fangdoudou", s[12]) + } + if(s.size()>=14 && s[13]){ + priceMap.put("maitian", s[13]) + } + + try{ + if(s.size()>=15 && s[14]){ + priceMap.put("58tc", s[14]) + } + }catch(Exception e){ + e.getMessage() + } + + } + + ExcelUtils.multiThreadingModify("D:\\数据\\福州\\福州\\房价网数据-公司方提供.xlsx", { d -> +// if (!d['F']) { +// def lists = CommonDatautils.findDistrictsByCityAndName("福州", d['A'], "district") +// if(lists){ +// for(def o : lists){ +// if(o.address==d['B']){ +// d['C'] = o.region +// } +// } +// } +// } + def key = "福州##"+d['C']+"##"+d['D'] + def priceMap = map1.get(key) + if(priceMap){ + if(priceMap.zhugezhaofang){ + d['F'] = priceMap.zhugezhaofang + } + if(priceMap.anjuke){ + d['G'] = priceMap.anjuke + } + if(priceMap.soufang){ + d['H'] = priceMap.soufang + } + if(priceMap.lianjia){ + d['I'] = priceMap.lianjia + } + if(priceMap.cityhouse){ + d['J'] = priceMap.cityhouse + } + if(priceMap.fangtan){ + d['K'] = priceMap.fangtan + } + if(priceMap.fangdoudou){ + d['L'] = priceMap.fangdoudou + } + if(priceMap.maitian){ + d['M'] = priceMap.maitian + } + + if(priceMap.get("58tc")){ + d['N'] = priceMap.get("58tc") + } + } + }, 0) + } + + def run1(){ + ExcelUtils.modify("D:\\数据\\福州\\福州\\房屋评估数据-数据方公司提供-结果.xlsx",{d-> + if(d['B'] && !d['D']){ + if(d['B'].contains("号")){ +// def price = searchContent2("福州","https://fz.58.com", d['B'], 304) +// if(price){ +// d['C'] = price +// d['F'] = "58同城" +// } + def price = thirdPartyColl("福州", d['B']) + if(price){ + d['D'] = price; + d['F'] = "麦田" + } + + } + } + },0) + } + + def thirdPartyColl(def city, def address){ + def q = new BasicDBObject() + q.put("city", city) + q.put("address", address) + q.put("source","麦田") + q.put("s_date",202202) + def obj = thirdPartyColl.findOne(q) + if(obj){ + return obj.avg_price + } + return null; + } + + + //查看此关键字是否有数据 + def searchContent2(def city,def url,def keyword, def cityid){ + def newUrl = url+"/esf-ajax/community/pc/autocomplete/?city_id=${cityid}&kw="+URLEncoder.encode(keyword, "utf-8")+"&type=2" + def document = CrawalUtil.getDocumentByABuYun(newUrl, "访问过于频繁", "utf-8", null, true); + def price = null + if(document){ + println "【"+keyword +"】 查询" + def jsonObj = JSONObject.fromObject(document) + if(jsonObj && jsonObj.status=="ok"){ + if(jsonObj.data.size()>0){ + def datas = jsonObj.data + def d = datas[0] + price = d.price.toInteger() + } + }else{ + println "【"+keyword +"】 无结果" + } + } + return price; + } + + def run(){ + def map = findThirdPrice("福州") + ExcelUtils.multiThreadingModify("D:\\数据\\福州\\福州\\房屋评估数据-数据方公司提供.xlsx",{d-> + if(!d['F']){ + def lists = CommonDatautils.findDistrictsByCityAndName("福州",d['A'], "district") + if(!lists){ + lists = CommonDatautils.findDistrictByAlias("福州",null, d['A'], "district") + } + for(def o : lists){ +// if(o.address == d['B']){ + def priceMap = map.get(o.region+"##"+o.name) + d['C'] = priceMap.anjuke_esf_price + d['D'] = priceMap.maitian_esf_price + d['E'] = priceMap.beike_esf_price + d['F'] = o.region +// } + } + } + + },0) + } + + def findThirdPrice(city){ + def q = new BasicDBObject() + q.put("city", city) + q.put("s_date", new BasicDBObject('$gte', 202109)) + def dbcursor = AVERAGE_STATISTICS.find(q).sort(new BasicDBObject("s_date", -1)) + def map = [:] + for(def db : dbcursor) { + def key = db.region+"##"+db.name + def dataMap = map.get(key) + if(!dataMap){ + dataMap = [:] + map.put(key, dataMap) + } + if(!dataMap.containsKey("anjuke_esf_price") && db.anjuke_esf_price && db.anjuke_esf_price>3000){ + dataMap.put("anjuke_esf_price", db.anjuke_esf_price) + } + if(!dataMap.containsKey("anjuke_esf_price") && db.get("58tc_esf_price") && db.get("58tc_esf_price")>3000){ + dataMap.put("anjuke_esf_price", db.get("58tc_esf_price")) + } + + if(!dataMap.containsKey("maitian_esf_price") && db.maitian_esf_price && db.maitian_esf_price>3000){ + dataMap.put("maitian_esf_price", db.maitian_esf_price) + } + + if(!dataMap.containsKey("beike_esf_price") && db.beike_esf_price && db.beike_esf_price>3000){ + dataMap.put("beike_esf_price", db.beike_esf_price) + } + + if(!dataMap.containsKey("beike_esf_price") && db.get("lianjia_esf_price") && db.lianjia_esf_price>3000){ + dataMap.put("beike_esf_price", db.lianjia_esf_price) + } + } + return map; + } +} diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/YouDaDataParser.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/YouDaDataParser.groovy index eeb71c20d..b49996401 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/YouDaDataParser.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/YouDaDataParser.groovy @@ -37,7 +37,7 @@ class YouDaDataParser { public static final DBCollection youda_newhouse_coll = MongoUtils.getCollectionByName2("business", "res_newdealprice", offlineUrl) public static final DBCollection youda_esfhouse_coll = MongoUtils.getCollectionByName2("business", "res_esfdealprice", offlineUrl) - //线下:228 线上:45 + //线下:228 线上:45 测试 static def new_targetUrl = "http://192.168.0.228:9200/new_deal_price_lansi/doc" static def new_queryUrl = "http://192.168.0.228:9200/new_deal_price_lansi/doc/_search" @@ -48,7 +48,7 @@ class YouDaDataParser { def final AtomicInteger count_ = new AtomicInteger(0) - static def statDate = "2022-01-01" + static def statDate = "2022-02-01" static main(args) { def task = new YouDaDataParser(); // task.newHouseparse();//友达一手房存入mongo @@ -285,7 +285,7 @@ class YouDaDataParser { def esfParser(){ - def files = ["D:\\数据\\友达\\2022年2月\\查询1.DBF"] + def files = ["D:\\数据\\友达\\2022年3月\\查询1.DBF"] def datas = [] for(def fileName : files){ def rows = readDBF(fileName); @@ -490,8 +490,9 @@ class YouDaDataParser { if(s){ def doc = new groovy.json.JsonSlurper().parseText(s) def hits = doc.hits - if(hits){ + if(hits && hits.total instanceof Integer){ total = hits.total + } } return total @@ -565,7 +566,7 @@ class YouDaDataParser { if(obj.premisesName && obj.premisesName!="null"){ dbo.premisesName = obj.premisesName } - dbo.price = obj.price + dbo.price = obj.price.toInteger() dbo.region = obj.region dbo.resId = obj.ydId.toString() dbo.totalPrice = obj.totalPrice diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/BeiKeCrawlByChrome.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/BeiKeCrawlByChrome.groovy index 5f2bbe1b3..dadbf4926 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/BeiKeCrawlByChrome.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/BeiKeCrawlByChrome.groovy @@ -36,7 +36,7 @@ public class BeiKeCrawlByChrome { def task = new BeiKeCrawlByChrome(); task.run() // task.run1() -// task.addDealRegion(); + task.addDealRegion(); } @@ -142,7 +142,7 @@ public class BeiKeCrawlByChrome { def dealDate = e.select(".dealDate").text() dealDate = DateUtils.parseFromTightByPattern(dealDate, "yyyy.MM.dd") def endDate = DateUtils.parseFromTightByPattern("2022-01-20", "yyyy-MM-dd") - if(dealDate.getTime()>=endDate.getTime()){ + if(dealDate && dealDate.getTime()>=endDate.getTime()){ detailUrls << durl parse(city, e) }else{ @@ -342,9 +342,9 @@ public class BeiKeCrawlByChrome { if(cityEles){ for(def e : cityEles){ def href = e.attr("href") -// if(e.text().contains("天津")){ + if(e.text().contains("天津")){ cityMap.put(e.text(), "https:"+href) -// } + } } } return cityMap diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/GaoDeUtils.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/GaoDeUtils.groovy index d60d5f02c..c3249e561 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/GaoDeUtils.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/GaoDeUtils.groovy @@ -514,8 +514,9 @@ class GaoDeUtils { // "2a1fb75990f2b39f6221e50892dd3988" // ] + //35925efd7333f1df52145e51b8e4e56a 15021384995 def KeyList = [ - "10bcb421d2ee4e51ed9268d6dca58ad1" + "10bcb421d2ee4e51ed9268d6dca58ad1"//17740818975 ] def count = RandomUtils.nextInt(KeyList.size()) return KeyList.get(count); diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/LianjiaCrawlByChrome.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/LianjiaCrawlByChrome.groovy index 76719fb79..e10306939 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/LianjiaCrawlByChrome.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/paimai/LianjiaCrawlByChrome.groovy @@ -187,7 +187,7 @@ public class LianjiaCrawlByChrome { def durl = e.select(".title a").attr("href") def dealDate = e.select(".dealDate").text() dealDate = DateUtils.parseFromTightByPattern(dealDate, "yyyy.MM.dd") - def endDate = DateUtils.parseFromTightByPattern("2022-01-30", "yyyy-MM-dd") + def endDate = DateUtils.parseFromTightByPattern("2022-01-20", "yyyy-MM-dd") if(dealDate.getTime()>=endDate.getTime()){ detailUrls << durl }else{ @@ -218,7 +218,7 @@ public class LianjiaCrawlByChrome { def durl = e.select(".title a").attr("href") def dealDate = e.select(".dealDate").text() dealDate = DateUtils.parseFromTightByPattern(dealDate, "yyyy.MM.dd") - def endDate = DateUtils.parseFromTightByPattern("2022-01-31", "yyyy-MM-dd") + def endDate = DateUtils.parseFromTightByPattern("2022-01-20", "yyyy-MM-dd") if(dealDate.getTime()>=endDate.getTime()){ detailUrls << durl parse(city, e) @@ -421,8 +421,7 @@ public class LianjiaCrawlByChrome { def href = e.attr("href") // if(!href.contains("fang.lianjia") && e.text().contains("福州")){ cityMap.put(e.text(), href) -// } - } + } } return cityMap } diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/DataStat.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/DataStat.groovy index 5443a7a6f..97dc2e689 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/DataStat.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/DataStat.groovy @@ -40,10 +40,10 @@ class DataStat { def run(){ - def source = "58同城"// - def citys = findCrawlCity(source, 202201); + def source = "搜房"// + def citys = findCrawlCity(source, 202112); for(def city : citys){ - def count1 = findCount(source, city, 202201); + def count1 = findCount(source, city, 202112); def count2 = findCount(source, city, 202202); println city +" "+count1+" "+count2 // println count1 diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/Esf58Crawl.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/Esf58Crawl.groovy index 37d2cafbb..d7d81e90e 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/Esf58Crawl.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/Esf58Crawl.groovy @@ -36,8 +36,8 @@ class Esf58Crawl extends BaseBatch{ def static final DBCollection thirdPartyColl = CrawalDBUtil.getThirdPartyCol(); def static final distMap = [:] - def static useDistKeys = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","不","了","这","中","大","有","和","人","是","在","一","的","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","长","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","地","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六共","权","收","证","改","清","已","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","调","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","的","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","重","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","行","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","著","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","笔","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","还","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","了","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","都","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","乐","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","着","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","弹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","率","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","藏","铅","熟","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","纤","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","着","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","粘","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","佛","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","薄","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","削","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","易","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇","郊","禄","捻","漠","粹","颠","宏","冤","肪","饥","呵","仙","押","挨","醛","娃","拾","没","佩","勿","吓","讹","侯","恋","夕","锌","篡","戚","淋","蓬","岂","釉","兆","泊","魂","拘","亡","杠","摧","氟","颂","浑","凌","铀","诱","犁","谴","颁","舶","扯","嘉","萌","犹","滋","焊","舌","匹","媳","肺","掠","酿","烹","疲","驰","鸦","窄","辱","狭","朴","遣","菲","奸","韧","辣","拳","秆","卧","醉","竭","茅","墓","矣","哎","艳","敦","舆","缔","雇","尿","葬","履","契","禽","渣","衬","躲","赔","咸","溉","贼","醋","堤","抖","妃","裤","廉","晴","挽","掀","茫","丑","亥","拦","悠","阐","慧","佐","奇","竖","孝","柜","麟","绣","遥","逝","愁","肖","昭","芬","逢","窑","捷","圜","盲","闸","宙","辐","披","账","狼","幽","绸","蜂","慎","餐","酬","誓","惟","叉","弥","址","帜","芝","砌","唉","仆","涛","臭","翠","盒","劫","慨","炳","阖","寂","椒","倘","拓","畏","喉","巾","颈","垦","拚","兽","蔽","芦","乾","爽","窃","谭","挣","崩","模","褐","传","翅","儒","伞","晃","谬","胚","剖","凑","眠","浊","霜","礁","蔑","抄","闯","洒","碑","蓉","耶","猜","蹲","壶","唤","澳","锯","郡","玲","绵","纽","梳","掏","吁","锤","鼠","穴","椅","殷","遮","吵","萍","厌","畜","俱","夸","吕","囊","捧","雌","闽","饶","瞬","郁","哨","凿","朝","俺","浒","茂","肝","勋","盯","籽","耻","菊","滥","稼","戒","奈","帅","鞭","蚕","镁","询","跌","烤","坛","宅","笛","鄂","蛮","颤","棍","睁","鼎","岌","降","侍","藩","嚷","匪","岳","糟","缠","迪","泄","卑","氛","堪","萝","盛","碘","缚","悦","澄","甫","攀","屠","溢","拱","晰","携","朽","吟","菱","谦","凹","俊","芒","盼","婶","艘","酰","趁","唇","挫","羞","浴","疼","萎","肴","愚","肿","刨","绞","枢","嫁","慕","舱","铲","苹","豫","谕","迭","潘","顷","翁","榜","匠","欠","茬","畴","胃","沾","踪","弊","哼","鹏","歧","桐","沃","悼","惑","溃","蔗","荐","潭","孢","露","诊","庸","聪","嫌","厨","庞","祁","钳","肆","梭","赠","崖","篮","颖","甸","藻","捣","且","撕","诏","贞","赐","慈","炕","胖","兹","差","琼","锈","汛","卓","棵","馈","挠","灶","婴","蒂","肤","衫","沥","仑","勉","沪","逸","蜜","浦","嗓","晕","膏","祭","赢","艾","扮","鹅","怜","蒲","兔","孕","呖","蘖","挪","淑","谣","惧","廊","缅","俘","骄","膀","陡","宰","诞","峻","恼","腺","猎","涡","夷","愉","魔","铵","葛","贾","似","荫","哟","脊","钞","苛","锰","椭","镶","杏","溴","倚","滞","会","氓","捏","斩","傲","匆","僵","卤","烫","衍","榨","拢","裸","屑","咽","坊","舅","渴","翔","邪","拄","窖","猫","砌","钦","媒","脾","勺","柏","栅","噪","昼","耿","扁","辰","秤","得","贩","糕","梁","昙","衷","宦","扔","哇","诈","嘱","藤","卜","冈","悔","廓","皂","拐","氰","杉","玛","矢","寓","瓣","罕","垮","笋","淘","衔","称","恭","喇","帕","桉","秉","帘","铭","蛇","摔","斋","叭","帆","裸","俭","瘤","篷","砸","肢","辟","脖","瞪","暑","卜","竿","歼","笙","酮","蕴","哗","瞎","喀","刃","楔","喘","枚","嵌","挝","厢","粤","甩","拴","膝","恳","腕","娓","熄","锚","忌","愧","哦","荆","圃","骚","丸","蒜","毯","弗","俯","鹿","梢","屯","衙","轿","贱","垒","谅","踢","哑","滔","渥","饷","泳","棕","熬","搁","腈","梨","吻","樱","奠","捆","姨","柏","聘","惕","郓","绑","冀","裹","酥","寡","彦","稠","啡","钝","汝","擅","汰","鳙","埔","敞","嘿","逊","栋","谨","咖","鲤","雀","佣","庵","葫","贿","鳞","拼","搏","谎","塌","忉","腻","戊","怖","坟","禾","刹","嘻","桔","坎","拇","煽","狮","痒","曾","梗","寇","鹰","烛","哄","莽","雯","胳","龟","亟","糠","泌","坪","傻","什","喻","渊","蚌","跪","巷","涅","钊","譬","蕊","膛","侮","奕","枕","辫","况","扼","郝","寥","凄","厦","腥","钧","耦","蹄","戥","屁","诵","匈","桩","钓","涵","倦","袍","抒","屿","蹈","忿","敷","虹","聊","嗣","尉","灿","糙","蹬","嗯","姬","狡","笨","辜","僧","茨","讽","翰","枉","岐","枣","崭","焚","咕","猴","揽","涝","耍","趟","汹","咋","傍","镀","给","爵","虏","劈","璋","踩","瞅","迄","昔","汞","呱","诡","魄","祺","嘲","惶","赃","癌","咐","歉","扳","鄙","庐","聂","便","芡","躯","贬","煌","拧","隋","襄","淤","宠","炊","滇","謇","懒","栓","佑","憾","骆","裙","猖","兜","孵","痼","盥","曝","泣","絮","韵","眷","旷","噢","参","栖","盏","鳌","溅","煎","校","榴","暮","琪","淆","陛","巢","哒","吼","槐","唧","其","沛","乞","蜀","蜇","赚","捍","铰","幂","尧","咒","耽","叮","褂","焕","煞","雹","搓","釜","铬","拣","募","淹","瑰","鲢","茄","灼","邹","躬","觉","娇","焉","彰","鹤","琳","沦","畔","惹","庶","毙","皖","邢","禹","渍","绷","窜","翘","淫","箪","陌","膊","鞑","咳","玫","巫","拂","蕉","澜","赎","绥","锄","囱","赌","颊","缕","寅","躁","稚","庚","苟","氦","魁","珊","蜕","蛭","酌","逗","闺","蔓","撇","豌","朕","缉","襟","镍","桅","荧","侄","卒","佃","瞿","娶","饪","耸","乍","靶","痴","靖","扛","筐","韶","嚣","崔","蓿","岔","氘","娥","剿","霖","喃","搪","雍","裳","撰","豹","骏","慷"] - + //def static useDistKeys = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","不","了","这","中","大","有","和","人","是","在","一","的","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","长","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","地","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六共","权","收","证","改","清","已","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","调","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","的","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","重","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","行","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","著","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","笔","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","还","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","了","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","都","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","乐","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","着","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","弹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","率","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","藏","铅","熟","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","纤","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","着","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","粘","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","佛","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","薄","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","削","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","易","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇","郊","禄","捻","漠","粹","颠","宏","冤","肪","饥","呵","仙","押","挨","醛","娃","拾","没","佩","勿","吓","讹","侯","恋","夕","锌","篡","戚","淋","蓬","岂","釉","兆","泊","魂","拘","亡","杠","摧","氟","颂","浑","凌","铀","诱","犁","谴","颁","舶","扯","嘉","萌","犹","滋","焊","舌","匹","媳","肺","掠","酿","烹","疲","驰","鸦","窄","辱","狭","朴","遣","菲","奸","韧","辣","拳","秆","卧","醉","竭","茅","墓","矣","哎","艳","敦","舆","缔","雇","尿","葬","履","契","禽","渣","衬","躲","赔","咸","溉","贼","醋","堤","抖","妃","裤","廉","晴","挽","掀","茫","丑","亥","拦","悠","阐","慧","佐","奇","竖","孝","柜","麟","绣","遥","逝","愁","肖","昭","芬","逢","窑","捷","圜","盲","闸","宙","辐","披","账","狼","幽","绸","蜂","慎","餐","酬","誓","惟","叉","弥","址","帜","芝","砌","唉","仆","涛","臭","翠","盒","劫","慨","炳","阖","寂","椒","倘","拓","畏","喉","巾","颈","垦","拚","兽","蔽","芦","乾","爽","窃","谭","挣","崩","模","褐","传","翅","儒","伞","晃","谬","胚","剖","凑","眠","浊","霜","礁","蔑","抄","闯","洒","碑","蓉","耶","猜","蹲","壶","唤","澳","锯","郡","玲","绵","纽","梳","掏","吁","锤","鼠","穴","椅","殷","遮","吵","萍","厌","畜","俱","夸","吕","囊","捧","雌","闽","饶","瞬","郁","哨","凿","朝","俺","浒","茂","肝","勋","盯","籽","耻","菊","滥","稼","戒","奈","帅","鞭","蚕","镁","询","跌","烤","坛","宅","笛","鄂","蛮","颤","棍","睁","鼎","岌","降","侍","藩","嚷","匪","岳","糟","缠","迪","泄","卑","氛","堪","萝","盛","碘","缚","悦","澄","甫","攀","屠","溢","拱","晰","携","朽","吟","菱","谦","凹","俊","芒","盼","婶","艘","酰","趁","唇","挫","羞","浴","疼","萎","肴","愚","肿","刨","绞","枢","嫁","慕","舱","铲","苹","豫","谕","迭","潘","顷","翁","榜","匠","欠","茬","畴","胃","沾","踪","弊","哼","鹏","歧","桐","沃","悼","惑","溃","蔗","荐","潭","孢","露","诊","庸","聪","嫌","厨","庞","祁","钳","肆","梭","赠","崖","篮","颖","甸","藻","捣","且","撕","诏","贞","赐","慈","炕","胖","兹","差","琼","锈","汛","卓","棵","馈","挠","灶","婴","蒂","肤","衫","沥","仑","勉","沪","逸","蜜","浦","嗓","晕","膏","祭","赢","艾","扮","鹅","怜","蒲","兔","孕","呖","蘖","挪","淑","谣","惧","廊","缅","俘","骄","膀","陡","宰","诞","峻","恼","腺","猎","涡","夷","愉","魔","铵","葛","贾","似","荫","哟","脊","钞","苛","锰","椭","镶","杏","溴","倚","滞","会","氓","捏","斩","傲","匆","僵","卤","烫","衍","榨","拢","裸","屑","咽","坊","舅","渴","翔","邪","拄","窖","猫","砌","钦","媒","脾","勺","柏","栅","噪","昼","耿","扁","辰","秤","得","贩","糕","梁","昙","衷","宦","扔","哇","诈","嘱","藤","卜","冈","悔","廓","皂","拐","氰","杉","玛","矢","寓","瓣","罕","垮","笋","淘","衔","称","恭","喇","帕","桉","秉","帘","铭","蛇","摔","斋","叭","帆","裸","俭","瘤","篷","砸","肢","辟","脖","瞪","暑","卜","竿","歼","笙","酮","蕴","哗","瞎","喀","刃","楔","喘","枚","嵌","挝","厢","粤","甩","拴","膝","恳","腕","娓","熄","锚","忌","愧","哦","荆","圃","骚","丸","蒜","毯","弗","俯","鹿","梢","屯","衙","轿","贱","垒","谅","踢","哑","滔","渥","饷","泳","棕","熬","搁","腈","梨","吻","樱","奠","捆","姨","柏","聘","惕","郓","绑","冀","裹","酥","寡","彦","稠","啡","钝","汝","擅","汰","鳙","埔","敞","嘿","逊","栋","谨","咖","鲤","雀","佣","庵","葫","贿","鳞","拼","搏","谎","塌","忉","腻","戊","怖","坟","禾","刹","嘻","桔","坎","拇","煽","狮","痒","曾","梗","寇","鹰","烛","哄","莽","雯","胳","龟","亟","糠","泌","坪","傻","什","喻","渊","蚌","跪","巷","涅","钊","譬","蕊","膛","侮","奕","枕","辫","况","扼","郝","寥","凄","厦","腥","钧","耦","蹄","戥","屁","诵","匈","桩","钓","涵","倦","袍","抒","屿","蹈","忿","敷","虹","聊","嗣","尉","灿","糙","蹬","嗯","姬","狡","笨","辜","僧","茨","讽","翰","枉","岐","枣","崭","焚","咕","猴","揽","涝","耍","趟","汹","咋","傍","镀","给","爵","虏","劈","璋","踩","瞅","迄","昔","汞","呱","诡","魄","祺","嘲","惶","赃","癌","咐","歉","扳","鄙","庐","聂","便","芡","躯","贬","煌","拧","隋","襄","淤","宠","炊","滇","謇","懒","栓","佑","憾","骆","裙","猖","兜","孵","痼","盥","曝","泣","絮","韵","眷","旷","噢","参","栖","盏","鳌","溅","煎","校","榴","暮","琪","淆","陛","巢","哒","吼","槐","唧","其","沛","乞","蜀","蜇","赚","捍","铰","幂","尧","咒","耽","叮","褂","焕","煞","雹","搓","釜","铬","拣","募","淹","瑰","鲢","茄","灼","邹","躬","觉","娇","焉","彰","鹤","琳","沦","畔","惹","庶","毙","皖","邢","禹","渍","绷","窜","翘","淫","箪","陌","膊","鞑","咳","玫","巫","拂","蕉","澜","赎","绥","锄","囱","赌","颊","缕","寅","躁","稚","庚","苟","氦","魁","珊","蜕","蛭","酌","逗","闺","蔓","撇","豌","朕","缉","襟","镍","桅","荧","侄","卒","佃","瞿","娶","饪","耸","乍","靶","痴","靖","扛","筐","韶","嚣","崔","蓿","岔","氘","娥","剿","霖","喃","搪","雍","裳","撰","豹","骏","慷"] + def static useDistKeys = [] static def totalCount = new AtomicLong() def cityList = [ @@ -191,7 +191,7 @@ class Esf58Crawl extends BaseBatch{ void process(Object args) { //addContent("福州","https://fz.58.com/xiaoqu/", 70); - def citys = ["成都","重庆","杭州","深圳","郑州","长沙","哈尔滨","长春","石家庄","太原","惠州","厦门","洛阳","德阳","镇江","泰安","宜昌","银川","襄阳","江门","荆州","滨州","衡阳","遂宁","鞍山","赣州","聊城","枣庄","德州","宿迁","新乡","信阳","包头","乐山","桂林","眉山","驻马店","许昌","泸州","宜宾","衡水","营口","达州","广安","吉安","鄂尔多斯","孝感","宝鸡","湘潭","十堰","上饶","菏泽","漯河","邢台","承德","宜春","平顶山","赤峰","延边","韶关","内江","茂名","梅州","焦作","郴州","黄冈","红河","绥化","丹东","阳江","娄底","黄石","开封","邵阳","牡丹江","周口","自贡","咸宁","汉中","长治","大庆","抚顺","北海","衢州","呼伦贝尔","永州","濮阳","晋中","晋城","河源","渭南","巴中","运城","舟山","齐齐哈尔","曲靖","怀化","铁岭","宁德","佳木斯","朝阳","葫芦岛","资阳","鄂州","通辽","益阳","荆门","大理","辽阳","阳泉","榆林","梧州","黔南","乌兰察布","昌吉","巴音郭楞","玉溪"] + def citys = ["新余","松原","楚雄","吕梁","雅安","本溪","鹤壁","拉萨","黔东南","忻州","兴安盟","乌海","贵港","三门峡","仙桃","安康","白城","平凉","庆阳","潮州","白银","吴忠","防城港","延安","丽江","黔西南","喀什","钦州","鸡西","萍乡","石嘴山","鹰潭","保山","哈密","铜仁","武威","普洱","河池","酒泉","朔州","百色","鹤岗","张家界","定西","湘西","济源","昭通","中卫","张掖","克拉玛依","黑河","铜川","辽源","云浮","博尔塔拉","固原","白山","天门","潜江","贺州","临沧","伊春","临夏","石河子","来宾","双鸭山","嘉峪关","海东"] for(def city : citys){ def str = cityList.get(city) for(def i=0;i<1;i++){ @@ -255,21 +255,21 @@ class Esf58Crawl extends BaseBatch{ for(def k=0;k for(def city : citys){