From 3065d2ee6db346e31792b1090bddf7d52432f8ef Mon Sep 17 00:00:00 2001 From: tamguo Date: Thu, 15 Nov 2018 15:56:31 +0800 Subject: [PATCH] fix bug --- tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java | 6 +++--- .../java/com/tamguo/modules/member/model/MemberEntity.java | 2 +- .../java/com/tamguo/modules/sys/model/TeacherEntity.java | 2 +- .../main/java/com/tamguo/modules/tiku/model/AdEntity.java | 2 +- .../java/com/tamguo/modules/tiku/model/ChapterEntity.java | 2 +- .../main/java/com/tamguo/modules/tiku/model/MenuEntity.java | 2 +- .../java/com/tamguo/modules/tiku/model/PaperEntity.java | 2 +- .../java/com/tamguo/modules/tiku/model/QuestionEntity.java | 2 +- .../java/com/tamguo/modules/tiku/model/SchoolEntity.java | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java index faf3783..a758131 100644 --- a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java +++ b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java @@ -34,13 +34,13 @@ public class PaperCrawler { // 140000 山西 | 350000 福建 | 340000 安徽 | 220000 吉林 | 150000 内蒙古 | 640000 宁夏 | 650000 新疆 | 广西 450000 | 210000 辽宁 // 230000 黑龙江 | 610000 陕西 | 360000 江西 | 440000 广东 | 430000 湖南 | 460000 海南 | 530000 云南 | 510000 四川 | 630000 青海 // 620000 甘肃 | 130000 河北 | 540000 西藏 | 贵州 520000 - private final String AREA_ID = "310000"; + private final String AREA_ID = "120000"; // 年份 private final String YEAR = "2016"; // 真题试卷 类型(1:真题试卷,2:模拟试卷,3:押题预测,4:名校精品) - private final String PAPER_TYPE = "4"; + private final String PAPER_TYPE = "2"; // 开始采集的URL - private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-20-7-2016-93-1-download"; + private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-20-4-2016-211-1-download"; private RunData runData; diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/member/model/MemberEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/member/model/MemberEntity.java index 2639501..aedc888 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/member/model/MemberEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/member/model/MemberEntity.java @@ -11,7 +11,7 @@ import com.tamguo.config.dao.SuperEntity; * The persistent class for the tiku_ad database table. * */ -@TableName(value="tiku_member") +@TableName(value="t_member") public class MemberEntity extends SuperEntity implements Serializable { private static final long serialVersionUID = 1L; diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/sys/model/TeacherEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/sys/model/TeacherEntity.java index 255153f..a8b142c 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/sys/model/TeacherEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/sys/model/TeacherEntity.java @@ -12,7 +12,7 @@ import com.tamguo.modules.sys.model.enums.TeacherStatus; * The persistent class for the tiku_teacher database table. * */ -@TableName(value="tiku_teacher") +@TableName(value="t_teacher") public class TeacherEntity extends SuperEntity implements Serializable { private static final long serialVersionUID = 1L; diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/AdEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/AdEntity.java index eac3d81..6879afa 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/AdEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/AdEntity.java @@ -8,7 +8,7 @@ import com.baomidou.mybatisplus.annotations.TableName; import com.tamguo.config.dao.SuperEntity; /** - * The persistent class for the tiku_ad database table. + * The persistent class for the t_ad database table. * */ @TableName(value="t_ad") diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/ChapterEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/ChapterEntity.java index 9e7d0e3..de6befb 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/ChapterEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/ChapterEntity.java @@ -13,7 +13,7 @@ import java.util.List; /** - * The persistent class for the tiku_chapter database table. + * The persistent class for the t_chapter database table. * */ @TableName(value="t_chapter") diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/MenuEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/MenuEntity.java index 70bdf99..3e535dd 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/MenuEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/MenuEntity.java @@ -9,7 +9,7 @@ import java.util.List; /** - * The persistent class for the tiku_subject database table. + * The persistent class for the t_subject database table. * */ @TableName(value="t_menu") diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/PaperEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/PaperEntity.java index d62566a..45a0712 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/PaperEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/PaperEntity.java @@ -10,7 +10,7 @@ import com.tamguo.config.dao.SuperEntity; /** - * The persistent class for the tiku_chapter database table. + * The persistent class for the t_chapter database table. * */ @TableName(value="t_paper") diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/QuestionEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/QuestionEntity.java index 92bcc11..58fbe73 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/QuestionEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/QuestionEntity.java @@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.annotations.TableName; import com.tamguo.config.dao.SuperEntity; /** - * The persistent class for the tiku_question database table. + * The persistent class for the t_question database table. * */ @TableName(value="t_question") diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SchoolEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SchoolEntity.java index 3cf3337..a337344 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SchoolEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SchoolEntity.java @@ -9,7 +9,7 @@ import com.tamguo.config.dao.SuperEntity; /** - * The persistent class for the tiku_chapter database table. + * The persistent class for the t_chapter database table. * */ @TableName(value="t_school")