Browse Source

更新

master
牧羊人 4 years ago
parent
commit
28ee69d43a
2 changed files with 1 additions and 6 deletions
  1. +1
    -1
      src/main/java/com/taauav/admin/entity/SysAdmin.java
  2. +0
    -5
      src/main/java/com/taauav/admin/service/impl/SysAdminServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/admin/entity/SysAdmin.java View File

@@ -111,7 +111,7 @@ public class SysAdmin extends Entity {
", loginNum=" + loginNum +
", loginFailure=" + loginFailure +
", lastIp=" + lastIp +
", lastTime=" + lastTime +
", lastTime=" + lastTime.toString() +
", status=" + this.getStatus() +
", sort=" + sort +
", createUser=" + createUser +

+ 0
- 5
src/main/java/com/taauav/admin/service/impl/SysAdminServiceImpl.java View File

@@ -84,11 +84,6 @@ public class SysAdminServiceImpl extends BaseServiceImpl<SysAdminMapper, SysAdmi
QueryWrapper wrapper = new QueryWrapper();
wrapper.eq("username", username);
wrapper.eq("mark", 1);
try {
SysAdmin admin = sysAdminMapper.selectOne(wrapper);
} catch (Exception e) {
System.out.println(e.getMessage());
}
SysAdmin admin = sysAdminMapper.selectOne(wrapper);
if (admin != null && !"".equals(admin.getAvatar())) {
admin.setAvatar(imageUrl + admin.getAvatar());

Loading…
Cancel
Save