config and user bug

This commit is contained in:
wangjinlei
2023-10-19 17:33:21 +08:00
parent a59e04e406
commit ca3846e1a7
7 changed files with 35 additions and 35 deletions

View File

@@ -3,7 +3,7 @@ spring:
redis:
open: false # 是否开启redis缓存 true开启 false关闭
database: 0
host: 127.0.0.1
host: 39.106.36.183
port: 6379
# password: Jgll2015 # 密码(默认为空)
timeout: 6000000ms # 连接超时时长(毫秒)

View File

@@ -27,15 +27,5 @@
</resultMap>
<update id="update">
update user
<set>
age = #{age}, sex = #{sex} ,avatar=#{avatar} ,nickname =#{nickname}
</set>
where id = #{id}
</update>
</mapper>