From cbb54ace2d3ba311f1bc41be2306c03b6c5630a1 Mon Sep 17 00:00:00 2001 From: tamguo Date: Sat, 1 Sep 2018 10:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8B=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/com/tamguo/PaperCrawler.java | 10 +++++----- tamguo-tms/src/main/resources/application.properties | 4 ++-- .../src/main/resources/templates/include/footer.html | 3 +++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java index d703262..7ffd1f0 100644 --- a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java +++ b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java @@ -32,14 +32,14 @@ public class PaperCrawler { private final String COURSE_ID = "likeshuxue"; // 110000 北京 | 310000 上海 | 500000 重庆 | 120100 天津 | 370000 山东 | 410000 河南 | 420000 湖北 | 320000 江苏 | 330000 浙江 // 140000 山西 | 350000 福建 | 340000 安徽 | 220000 吉林 | 150000 内蒙古 | 640000 宁夏 | 650000 新疆 | 广西 450000 | 210000 辽宁 - // 230000 黑龙江 | 610000 陕西 | 360000 江西 | 440000 广东 - private final String AREA_ID = "440000"; + // 230000 黑龙江 | 610000 陕西 | 360000 江西 | 440000 广东 | 430000 湖南 + private final String AREA_ID = "430000"; // 年份 - private final String YEAR = "2016"; + private final String YEAR = "2015"; // 真题试卷 类型(1:真题试卷,2:模拟试卷,3:押题预测,4:名校精品) - private final String PAPER_TYPE = "4"; + private final String PAPER_TYPE = "3"; // 开始采集的URL - private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-16-7-2016-1427-1-download"; + private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-16-2-2015-1496-1-download"; private RunData runData; diff --git a/tamguo-tms/src/main/resources/application.properties b/tamguo-tms/src/main/resources/application.properties index f2af949..6e39331 100644 --- a/tamguo-tms/src/main/resources/application.properties +++ b/tamguo-tms/src/main/resources/application.properties @@ -1,4 +1,4 @@ -domain.name=http://localhost:8081/ +domain.name=https://www.tamguo.com/ admin.domain.name=https://admin.tamguo.com server.port=8081 jasypt.encryptor.password=tamguo @@ -12,7 +12,7 @@ spring.datasource.maxPoolPreparedStatementPerConnectionSize=20 spring.datasource.maxWait=60000 spring.datasource.minEvictableIdleTimeMillis=300000 spring.datasource.minIdle=5 -spring.datasource.password=123456 +spring.datasource.password=tanguo520pig spring.datasource.poolPreparedStatements=true spring.datasource.testOnBorrow=false spring.datasource.testOnReturn=false diff --git a/tamguo-tms/src/main/resources/templates/include/footer.html b/tamguo-tms/src/main/resources/templates/include/footer.html index d1ea63d..e8ed934 100644 --- a/tamguo-tms/src/main/resources/templates/include/footer.html +++ b/tamguo-tms/src/main/resources/templates/include/footer.html @@ -37,6 +37,9 @@
  • DMOZ目录
  • +
  • DMOZ目录 +