From 859fdbd69ebdee80550cf09a8e2d16f76534fef7 Mon Sep 17 00:00:00 2001 From: Harold-Y Date: Fri, 27 May 2022 17:01:34 -0500 Subject: [PATCH] backend_v3.1.1 --- echoq/src/main/resources/application.properties | 2 +- echoq/src/main/resources/mapper/QuestionsMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/echoq/src/main/resources/application.properties b/echoq/src/main/resources/application.properties index fdf0bb6..46f0fe0 100644 --- a/echoq/src/main/resources/application.properties +++ b/echoq/src/main/resources/application.properties @@ -15,7 +15,7 @@ spring.servlet.multipart.max-request-size=10MB spring.redis.database=15 spring.redis.password=haroldci -spring.redis.host=xxxxxx +spring.redis.host=xxxxx spring.redis.port=6379 spring.redis.timeout=1800000 diff --git a/echoq/src/main/resources/mapper/QuestionsMapper.xml b/echoq/src/main/resources/mapper/QuestionsMapper.xml index bdeae93..e3d9732 100644 --- a/echoq/src/main/resources/mapper/QuestionsMapper.xml +++ b/echoq/src/main/resources/mapper/QuestionsMapper.xml @@ -8,7 +8,7 @@ insert into `questions`(anonyIp, question, userId, visibility, crtime, updtime) values - (#{anonyip}, #{question}, #{userid}, FALSE, NOW(), NOW()) + (#{anonyip}, #{question}, #{userid}, TRUE, NOW(), NOW())