作者 钟来

优化鱼价采集功能

package com.ruoyi.quartz.task.aquatic;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.fish.FishAquaticPublicOpinion;
import org.springframework.stereotype.Service;
import java.net.URL;
import java.util.*;
import java.net.HttpURLConnection;
import java.io.BufferedReader;
import java.io.InputStreamReader;
@Service
public class ZnyjNftecAgriCn extends AquaticPublicOpinionBase{
private static Map<String,String> tempAere = new HashMap<>();
@Override
List<FishAquaticPublicOpinion> collect(String day, Set<String> dedupMap) {
String url = "http://znyj.nftec.agri.cn:8089/mobile/view/nowprice.html";
... ... @@ -17,7 +29,8 @@ public class ZnyjNftecAgriCn extends AquaticPublicOpinionBase{
aquaticPublicOpinion.setInfoUrl(url);
aquaticPublicOpinion.setReleaseTime(new Date());
aquaticPublicOpinion.setCreateTime(new Date());
aquaticPublicOpinion.setAquaticType(3);
aquaticPublicOpinion.setAquaticType(4);
aquaticPublicOpinion.setFishPrice(getYujia(getInfo(url)));
list.add(aquaticPublicOpinion);
return list;
}
... ... @@ -33,4 +46,105 @@ public class ZnyjNftecAgriCn extends AquaticPublicOpinionBase{
}
return null;
}
private String getYujia(String datas )
{
if(StringUtils.isEmpty(datas))
{
return null;
}
//{"Status":200,"Message":"","Data":{"PageNum":1,"PageSize":1000,"TotalItemCount":72,"TotalPageCount":1,"StartItemIndex":1,"EndItemIndex":72,"Items":[{"product":"鲫鱼","product_id":576,"standard":"100≤条重<250","standard_id":1145,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"14.00","date":"1月15日"},{"product":"活牛蛙","product_id":624,"standard":"/","standard_id":1252,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"14.00","date":"1月15日"},{"product":"甲鱼","product_id":619,"standard":"统货","standard_id":1247,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"60.00","date":"1月15日"},{"product":"银鲳","product_id":344,"standard":"250≤冻条重<400","standard_id":850,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"62.00","date":"1月15日"},{"product":"银鲳","product_id":344,"standard":"150≤冻条重<250","standard_id":851,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"40.00","date":"1月15日"},{"product":"带鱼","product_id":332,"standard":"200≤冻条重<350","standard_id":828,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"16.00","date":"1月15日"},{"product":"带鱼","product_id":332,"standard":"100≤冻条重<200","standard_id":829,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"10.00","date":"1月15日"},{"product":"小黄鱼","product_id":331,"standard":"100≤鲜条重<150","standard_id":656,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"30.00","date":"1月15日"},{"product":"青虾","product_id":615,"standard":"统货","standard_id":1237,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"140.00","date":"1月15日"},{"product":"斑点叉尾鮰","product_id":638,"standard":"500≤条重\u003c1000","standard_id":1271,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"25.00","date":"1月15日"},{"product":"黄鳝","product_id":590,"standard":"条重<100","standard_id":1179,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"60.00","date":"1月15日"},{"product":"黄鳝","product_id":590,"standard":"条重≥100","standard_id":1178,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"60.00","date":"1月15日"},{"product":"乌鳢","product_id":587,"standard":"条重≥250","standard_id":1171,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"21.00","date":"1月15日"},{"product":"团头鲂","product_id":581,"standard":"统货","standard_id":1159,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"15.00","date":"1月15日"},{"product":"鳜鱼(桂花鱼)","product_id":578,"standard":"500≤条重<750","standard_id":1152,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"59.00","date":"1月15日"},{"product":"银鱼","product_id":584,"standard":"小","standard_id":1165,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"26.00","date":"1月15日"},{"product":"银鱼","product_id":584,"standard":"大","standard_id":1164,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"37.00","date":"1月15日"},{"product":"鲫鱼","product_id":576,"standard":"250≤条重<500","standard_id":1144,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"21.00","date":"1月15日"},{"product":"鳙鱼(花鲢)","product_id":575,"standard":"条重≥1500","standard_id":1140,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"14.00","date":"1月15日"},{"product":"鲢鱼","product_id":574,"standard":"条重≥1500","standard_id":1137,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"7.00","date":"1月15日"},{"product":"草鱼","product_id":573,"standard":"条重≥1500","standard_id":1134,"unit":"江苏凌家塘市场发展有限公司","unit_id":498,"value":"18.00","date":"1月15日"},{"product":"罗氏沼虾","product_id":616,"standard":"统货","standard_id":1238,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"69.00","date":"1月15日"},{"product":"青虾","product_id":615,"standard":"统货","standard_id":1237,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"150.00","date":"1月15日"},{"product":"活牛蛙","product_id":624,"standard":"/","standard_id":1252,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"13.50","date":"1月15日"},{"product":"中华圆田螺","product_id":620,"standard":"/","standard_id":1248,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"10.00","date":"1月15日"},{"product":"甲鱼","product_id":619,"standard":"统货","standard_id":1247,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"64.00","date":"1月15日"},{"product":"鳗鲡","product_id":595,"standard":"250≤条重<500","standard_id":1188,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"75.50","date":"1月15日"},{"product":"鳗鲡","product_id":595,"standard":"条重≥500","standard_id":1187,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"102.50","date":"1月15日"},{"product":"泥鳅","product_id":594,"standard":"/","standard_id":1186,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"20.00","date":"1月15日"},{"product":"黄鳝","product_id":590,"standard":"条重<100","standard_id":1179,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"77.50","date":"1月15日"},{"product":"黄鳝","product_id":590,"standard":"条重≥100","standard_id":1178,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"104.50","date":"1月15日"},{"product":"乌鳢","product_id":587,"standard":"条重≥250","standard_id":1171,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"18.50","date":"1月15日"},{"product":"鲶鱼","product_id":585,"standard":"250≤条重<500","standard_id":1167,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"10.50","date":"1月15日"},{"product":"鲶鱼","product_id":585,"standard":"条重≥500","standard_id":1166,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"11.50","date":"1月15日"},{"product":"银鱼","product_id":584,"standard":"小","standard_id":1165,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"54.00","date":"1月15日"},{"product":"银鱼","product_id":584,"standard":"大","standard_id":1164,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"58.00","date":"1月15日"},{"product":"长春鳊","product_id":579,"standard":"条重<500","standard_id":1155,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"13.10","date":"1月15日"},{"product":"长春鳊","product_id":579,"standard":"条重≥500","standard_id":1154,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"13.70","date":"1月15日"},{"product":"鳜鱼(桂花鱼)","product_id":578,"standard":"250≤条重<500","standard_id":1153,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"53.00","date":"1月15日"},{"product":"鳜鱼(桂花鱼)","product_id":578,"standard":"500≤条重<750","standard_id":1152,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"59.00","date":"1月15日"},{"product":"鲤鱼","product_id":577,"standard":"1000≤条重<1500","standard_id":1148,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"9.50","date":"1月15日"},{"product":"鲤鱼","product_id":577,"standard":"条重≥1500","standard_id":1147,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"12.50","date":"1月15日"},{"product":"鲫鱼","product_id":576,"standard":"250≤条重<500","standard_id":1144,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"13.80","date":"1月15日"},{"product":"鲫鱼","product_id":576,"standard":"条重≥500","standard_id":1143,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"19.30","date":"1月15日"},{"product":"鳙鱼(花鲢)","product_id":575,"standard":"1000≤条重<1500","standard_id":1141,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"12.00","date":"1月15日"},{"product":"鳙鱼(花鲢)","product_id":575,"standard":"条重≥1500","standard_id":1140,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"14.00","date":"1月15日"},{"product":"鲢鱼","product_id":574,"standard":"1000≤条重<1500","standard_id":1138,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"5.80","date":"1月15日"},{"product":"鲢鱼","product_id":574,"standard":"条重≥1500","standard_id":1137,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"7.30","date":"1月15日"},{"product":"草鱼","product_id":573,"standard":"1000≤条重<1500","standard_id":1135,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"15.00","date":"1月15日"},{"product":"草鱼","product_id":573,"standard":"条重≥1500","standard_id":1134,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"17.00","date":"1月15日"},{"product":"青鱼","product_id":572,"standard":"条重<2000","standard_id":1133,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"16.40","date":"1月15日"},{"product":"青鱼","product_id":572,"standard":"条重≥2000","standard_id":1132,"unit":"江苏省苏州市南环桥农副产品批发市场","unit_id":501,"value":"17.20","date":"1月15日"},{"product":"长牡蛎","product_id":521,"standard":"/","standard_id":1053,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"17.50","date":"1月15日"},{"product":"中国对虾","product_id":468,"standard":"鲜每500克13-16只 ","standard_id":946,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"53.00","date":"1月15日"},{"product":"中华圆田螺","product_id":620,"standard":"/","standard_id":1248,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"9.50","date":"1月15日"},{"product":"活牛蛙","product_id":624,"standard":"/","standard_id":1252,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"48.00","date":"1月15日"},{"product":"翘嘴红鲌","product_id":728,"standard":"条重≥500","standard_id":2650,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"21.00","date":"1月15日"},{"product":"黄颡鱼","product_id":598,"standard":"50≤条重<150","standard_id":1194,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"23.50","date":"1月15日"},{"product":"加州鲈鱼","product_id":589,"standard":"条重≥500","standard_id":1176,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"23.50","date":"1月15日"},{"product":"鳜鱼(桂花鱼)","product_id":578,"standard":"500≤条重<750","standard_id":1152,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"59.00","date":"1月15日"},{"product":"罗氏沼虾","product_id":616,"standard":"统货","standard_id":1238,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"87.00","date":"1月15日"},{"product":"黄鳝","product_id":590,"standard":"条重≥100","standard_id":1178,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"82.00","date":"1月15日"},{"product":"中华绒螯蟹","product_id":617,"standard":"个重≥150","standard_id":1239,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"89.00","date":"1月15日"},{"product":"中华绒螯蟹","product_id":617,"standard":"个重<150","standard_id":1240,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"83.00","date":"1月15日"},{"product":"淡水小龙虾","product_id":639,"standard":"统货","standard_id":857,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"106.00","date":"1月15日"},{"product":"乌鳢","product_id":587,"standard":"条重≥250","standard_id":1171,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"19.00","date":"1月15日"},{"product":"青鱼","product_id":572,"standard":"条重≥2000","standard_id":1132,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"17.50","date":"1月15日"},{"product":"团头鲂","product_id":581,"standard":"条重≥250","standard_id":1157,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"13.50","date":"1月15日"},{"product":"鲫鱼","product_id":576,"standard":"250≤条重<500","standard_id":1144,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"17.00","date":"1月15日"},{"product":"鳙鱼(花鲢)","product_id":575,"standard":"1000≤条重<1500","standard_id":1141,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"13.80","date":"1月15日"},{"product":"鲢鱼","product_id":574,"standard":"1000≤条重<1500","standard_id":1138,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"7.60","date":"1月15日"},{"product":"草鱼","product_id":573,"standard":"1000≤条重<1500","standard_id":1135,"unit":"南京市众彩批发市场有限公司","unit_id":627,"value":"16.40","date":"1月15日"}]}}
JSONObject jsonObject = JSONObject.parseObject(datas);
if(jsonObject.containsKey("Status") && jsonObject.getInteger("Status") == 200 && jsonObject.containsKey("Data") && jsonObject.getJSONObject("Data").containsKey("Items")) {
JSONArray jsonArray = jsonObject.getJSONObject("Data").getJSONArray("Items");
List<Map<String,String>> saveList = new ArrayList<>();
for (int i = 0; i < jsonArray.size(); i++) {
JSONObject item = jsonArray.getJSONObject(i);
String product = item.getString("product");
String standard = item.getString("standard");
String unit = item.getString("unit");
//将unit解析成省市县
String addre = getAere(unit);
String value = item.getString("value");
String date = item.getString("date");
Map<String,String> saveListitem = new HashMap<>();
// 构建文本内容
saveListitem.put("价格", value);
saveListitem.put("品种", product);
saveListitem.put("地区", addre);
saveListitem.put("时间", date);
saveListitem.put("规格", standard);
saveList.add(saveListitem);
}
return JSON.toJSONString(saveList);
}
return null;
}
private static final String API_KEY = "72d57dd7708cb10a1e7695c95490a6d5";
private String getAere(String addres)
{
if(!tempAere.containsKey(addres))
{
Optional<Map<String,Object>> dbAere = publicService.getObjectListBySQL("select business_name,province,city from sys_business_address where business_name = '"+addres+"' limit 1").stream().findFirst();
if (dbAere.isPresent())
{
Map<String, Object> item = dbAere.get();
String province = String.valueOf(item.get("province"));
String city = String.valueOf(item.get("city"));
tempAere.put(addres,province+city);
}else{
String[] cityes = getCityString(addres);
if(null != cityes)
{
publicService.updateBySql("insert into sys_business_address(business_name,province,city) values('"+addres+"','"+cityes[0]+"','"+cityes[1]+"')");
tempAere.put(addres,cityes[0]+cityes[1]);
}
}
}
return tempAere.get(addres);
}
private String[] getCityString(String location)
{
String urlStr = "https://restapi.amap.com/v3/place/text?keywords=" + location + "&key=" + API_KEY+"&citylimit=true&children=1";
// 发送请求
try {
URL url = new URL(urlStr);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuilder response = new StringBuilder();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
//{"suggestion":{"keywords":[],"cities":[]},"count":"6","infocode":"10000","pois":[{"parent":[],"distance":[],"keytag":"公司","importance":[],"biz_ext":{"cost":[],"rating":[]},"type":"公司企业;公司;公司","photos":[],"building":[],"typecode":"170200","shopinfo":"0","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":"0519-83880058","id":"B0LRAZYOK3","address":"邹区镇岳杨路1幢","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":[],"atag":[],"name":"江苏凌家塘市场发展有限公司","location":"119.863905,31.779829","shopid":[],"favorite_num":[],"featured_reviews":[]},{"parent":[],"distance":[],"keytag":"公司","importance":[],"biz_ext":{"cost":[],"rating":[]},"type":"公司企业;公司;公司","photos":[{"title":[],"url":"http://store.is.autonavi.com/showpic/49dae1ee2df6978f2ee720e211b95fdb"},{"title":[],"url":"http://store.is.autonavi.com/showpic/6a53a13cf1d15f7ddbffbeff3e0fad80"}],"building":[],"typecode":"170200","shopinfo":"0","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":[],"id":"B0FFM7Q3EV","address":"江凌路与建凌路交叉口东北320米","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":[],"atag":[],"name":"江苏凌家塘市场发展有限公司","location":"119.862273,31.776744","shopid":[],"favorite_num":[],"featured_reviews":[]},{"parent":[],"distance":[],"keytag":"工会","importance":[],"biz_ext":{"cost":[],"rating":[]},"type":"政府机构及社会团体;社会团体;社会团体相关|公司企业;公司企业;公司企业","photos":[{"title":[],"url":"http://store.is.autonavi.com/showpic/4ab7a30e44de4e7128d508d5a3d088ee"}],"building":[],"typecode":"130400|170000","shopinfo":"2","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":[],"id":"B02070TNHU","address":"岳杨路与江凌路交叉口西北40米","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":[],"atag":[],"name":"江苏凌家塘市场发展有限公司工会委员会","location":"119.863857,31.779846","shopid":[],"favorite_num":[],"featured_reviews":[]},{"parent":"B0IAZR28MX","distance":[],"keytag":"停车场入口","importance":[],"biz_ext":{"cost":[],"rating":[]},"type":"交通设施服务;停车场;停车场出入口","parking_type":"地面","photos":[],"building":[],"typecode":"150909","shopinfo":"2","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":[],"id":"B0IAZR1CZJ","address":"江苏凌家塘市场发展有限公司地面停车场","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":"108","atag":[],"name":"江苏凌家塘市场发展有限公司地面停车场(出入口)","location":"119.864065,31.780165","shopid":[],"favorite_num":[],"featured_reviews":[]},{"parent":[],"distance":[],"keytag":"地面停车场","importance":[],"biz_ext":{"cost":[],"rating":[]},"type":"交通设施服务;停车场;公共停车场","parking_type":"地面","photos":[],"building":[],"typecode":"150904","shopinfo":"2","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":[],"id":"B0IAZR28MX","address":"江凌路与岳杨路交叉口北60米","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":[],"atag":[],"name":"江苏凌家塘市场发展有限公司地面停车场","location":"119.864065,31.780165","shopid":[],"favorite_num":[],"featured_reviews":[]},{"parent":[],"distance":[],"keytag":"水产海鲜店","importance":[],"biz_ext":{"cost":[],"rating":"4.0"},"type":"购物服务;综合市场;水产海鲜市场","photos":[{"title":[],"url":"http://store.is.autonavi.com/showpic/c0b8a647d6fb411a29c14eaa01f87069"}],"building":[],"typecode":"060706","shopinfo":"0","poiweight":[],"adname":"钟楼区","featured_reviews_remake":[],"tel":"0519-83812888","id":"B0FFMBUIYU","address":"凌家塘农副产品批发市场特种水产区28-30号","space_num":[],"pname":"江苏省","biz_type":[],"cityname":"常州市","childtype":[],"atag":[],"name":"江苏润泽生态农业发展有限公司凌家塘润泽水产批发部","location":"119.862461,31.785705","shopid":[],"favorite_num":[],"featured_reviews":[]}],"status":"1","info":"OK"}
// 解析返回的JSON
JSONObject jsonResponse = JSONObject.parseObject(response.toString());
if (jsonResponse.getInteger("status") == 1) {
JSONArray jsonArray = jsonResponse.getJSONArray("pois");
if(jsonArray.size()>0)
{
JSONObject cityObject = jsonArray.getJSONObject(0);
String sheng = cityObject.getString("pname");
String shi = cityObject.getString("cityname");
return new String[]{sheng,shi};
}
} else {
logger.info("无法获取地理信息:"+response.toString());
}
} catch (Exception e) {
logger.error("无法获取地理信息",e);
}
return null;
}
}
... ...
... ... @@ -19,6 +19,6 @@ class AquaticPublicOpinionTaskTestTest {
@Test
public void testRun() {
//初始微信采集服务
znyjNftecAgriCn.run("20260105");
znyjNftecAgriCn.run("20260117");
}
}
... ...