Merge remote-tracking branch 'origin/dev1/user_model'

This commit is contained in:
wangjinlei
2023-10-20 15:15:48 +08:00
7 changed files with 37 additions and 37 deletions

View File

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

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>