已知bug修复

master
Bosen 2021-10-07 23:51:59 +08:00
parent b69350b75e
commit fc15917b48
3 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public class UserInfoService {
} }
} }
if (newPwd.equals("")){ if (newPwd.equals("")){
newPwd = oldPwd; newPwd = user.getPassword();
}else{ }else{
newPwd = DigestUtils.md5DigestAsHex(newPwd.getBytes()); newPwd = DigestUtils.md5DigestAsHex(newPwd.getBytes());
} }

View File

@ -1,5 +1,5 @@
# site-url: 127.0.0.1 site-url: 127.0.0.1
site-url: 47.115.118.34 # site-url: 47.115.118.34
server: server:
port: 80 port: 80
tomcat: tomcat:

View File

@ -1921,6 +1921,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="single-latest-blog"> <div class="single-latest-blog">
<div class="latest-blog-img"> <div class="latest-blog-img">
<div th:value="${lowImg.get(0)}" disabled="disabled"></div>
<a target="_blank" th:if="${lowImg.get('0')}!=null" <a target="_blank" th:if="${lowImg.get('0')}!=null"
th:href="@{/user/shop(id=${lowImg.get('0').getMerchant()})}"> th:href="@{/user/shop(id=${lowImg.get('0').getMerchant()})}">
<img th:src="@{${lowImg.get('0').getUrl()}}" style="width: 400px; height: 206px" alt=""/> <img th:src="@{${lowImg.get('0').getUrl()}}" style="width: 400px; height: 206px" alt=""/>