Browse Source

解决时区少8小时问题

master
牧羊人 4 years ago
parent
commit
d033e500db
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/java/com/taauav/admin/vo/LsAdminListVo.java

+ 2
- 1
src/main/java/com/taauav/admin/vo/LsAdminListVo.java View File

@@ -111,8 +111,9 @@ public class LsAdminListVo {
/**
* 上次登录时间
*/

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastTime;

/**

Loading…
Cancel
Save