Browse Source

更新时间

jinxia.mo 3 years ago
parent
commit
25f9f7ddeb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/test/java/spider/CollegeData.java

+ 2 - 1
src/test/java/spider/CollegeData.java

@@ -49,7 +49,7 @@ public class CollegeData {
 //181
     public void collegeList() throws SQLException {
 //        int count = 0, total = 5000, page = 131;
-        int count = 0, total = 5000, page = 1;
+        int count = 0, total = 5000, page = 114;
         JSONObject res=new JSONObject();
         do {
             try {
@@ -177,6 +177,7 @@ public class CollegeData {
                 row.put("type",type);
                 row.put("font_id",fontId);
                 row.put("font_value",fontValue);
+                row.put("update_time",new Date());
                 //解密错位数据
                 thDatasArray.forEach(m->{
                     JSONObject thDatasJSONObject = (JSONObject) m;