From 4685ddd25d64e09ec874c880d353f0ca885e0e83 Mon Sep 17 00:00:00 2001 From: tamguo Date: Mon, 15 Oct 2018 18:08:39 +0800 Subject: [PATCH] fix bug --- .../src/main/java/com/tamguo/web/tiku/IndexController.java | 1 + tamguo-tms/src/main/resources/application.properties | 6 +++--- tamguo-tms/src/main/resources/static/robots.txt | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 tamguo-tms/src/main/resources/static/robots.txt diff --git a/tamguo-tms/src/main/java/com/tamguo/web/tiku/IndexController.java b/tamguo-tms/src/main/java/com/tamguo/web/tiku/IndexController.java index c811502..8fa6997 100644 --- a/tamguo-tms/src/main/java/com/tamguo/web/tiku/IndexController.java +++ b/tamguo-tms/src/main/java/com/tamguo/web/tiku/IndexController.java @@ -63,4 +63,5 @@ public class IndexController { model.setViewName("500"); return model; } + } diff --git a/tamguo-tms/src/main/resources/application.properties b/tamguo-tms/src/main/resources/application.properties index 1c869ee..0667768 100644 --- a/tamguo-tms/src/main/resources/application.properties +++ b/tamguo-tms/src/main/resources/application.properties @@ -1,5 +1,5 @@ -domain.name=https://www.tamguo.com/ -admin.domain.name=https://www.tamguo.com/ +domain.name=http://localhost:8081/ +admin.domain.name=http://localhost:8081/ 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=tanguo520pig +spring.datasource.password=123456 spring.datasource.poolPreparedStatements=true spring.datasource.testOnBorrow=false spring.datasource.testOnReturn=false diff --git a/tamguo-tms/src/main/resources/static/robots.txt b/tamguo-tms/src/main/resources/static/robots.txt new file mode 100644 index 0000000..2ff4170 --- /dev/null +++ b/tamguo-tms/src/main/resources/static/robots.txt @@ -0,0 +1,4 @@ +# robots.txt for Tamguo + +User-agent: * +Sitemap: /sitemap/index.xml \ No newline at end of file