Skip to content

Commit

Permalink
backend_v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-y committed May 27, 2022
1 parent 1d724cc commit 859fdbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion echoq/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion echoq/src/main/resources/mapper/QuestionsMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<insert id="insertQuestion" parameterType="org.echoq.entity.Questions">
insert into `questions`(anonyIp, question, userId, visibility, crtime, updtime)
values
(#{anonyip}, #{question}, #{userid}, FALSE, NOW(), NOW())
(#{anonyip}, #{question}, #{userid}, TRUE, NOW(), NOW())
</insert>

</mapper>

0 comments on commit 859fdbd

Please sign in to comment.