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 caabff0..62a5060 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 @@ -32,6 +32,12 @@ public class IndexController { return model; } + @RequestMapping(value = "/shenma-site-verification.txt", method = RequestMethod.GET) + public ModelAndView shenma_site_verification(ModelAndView model) { + model.setViewName("thirdparty/shenma-site-verification"); + return model; + } + @RequestMapping(value = "/sogousiteverification", method = RequestMethod.GET) public ModelAndView sogousiteverification(ModelAndView model) { model.setViewName("thirdparty/sogousiteverification"); diff --git a/tamguo-tms/src/main/resources/application.properties b/tamguo-tms/src/main/resources/application.properties index 70c37fc..6a6ec33 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=http://admin.tanguoguo.com server.port=8081 jasypt.encryptor.password=tamguo @@ -12,14 +12,14 @@ spring.datasource.maxPoolPreparedStatementPerConnectionSize=20 spring.datasource.maxWait=60000 spring.datasource.minEvictableIdleTimeMillis=300000 spring.datasource.minIdle=5 -spring.datasource.password=Tanguo +spring.datasource.password= spring.datasource.poolPreparedStatements=true spring.datasource.testOnBorrow=false spring.datasource.testOnReturn=false spring.datasource.testWhileIdle=true spring.datasource.timeBetweenEvictionRunsMillis=60000 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource -spring.datasource.url=jdbc:mysql://47.100.175.14:3306/tamguo?useUnicode=true&characterEncoding=UTF-8&useSSL=false +spring.datasource.url=jdbc:mysql://127.0.0.1:3306/tamguo?useUnicode=true&characterEncoding=UTF-8&useSSL=false spring.datasource.username=root spring.datasource.validationQuery=SELECT 1 FROM DUAL diff --git a/tamguo-tms/src/main/resources/templates/index.html b/tamguo-tms/src/main/resources/templates/index.html index b1252d1..ca4ca64 100644 --- a/tamguo-tms/src/main/resources/templates/index.html +++ b/tamguo-tms/src/main/resources/templates/index.html @@ -10,7 +10,7 @@ - + diff --git a/tamguo-tms/src/main/resources/templates/thirdparty/shenma-site-verification.txt b/tamguo-tms/src/main/resources/templates/thirdparty/shenma-site-verification.txt new file mode 100644 index 0000000..cc47c09 --- /dev/null +++ b/tamguo-tms/src/main/resources/templates/thirdparty/shenma-site-verification.txt @@ -0,0 +1 @@ +shenma-site-verification:d7da26ed196c232a40149f7a6feb2417_1534219324 \ No newline at end of file