fix(system): 修正登录记录时间格式和更新专家数据

- 为LoginRecord实体的createTime和updateTime字段添加时区配置GMT+8
- 更新.expert-history.json文件,新增高级开发工程师Will的专家信息
- 同步更新lastUpdated时间戳以反映最新变更
This commit is contained in:
2026-04-12 22:09:24 +08:00
parent 721ce5a595
commit 7c90f5e8af
2 changed files with 14 additions and 3 deletions

View File

@@ -22,7 +22,18 @@
"usedAt": 1776000797914, "usedAt": 1776000797914,
"industryId": "all" "industryId": "all"
} }
],
"44c34a14b6dc4139b39ff61239e259ea": [
{
"expertId": "SeniorDeveloper",
"name": "Will",
"profession": "高级开发工程师",
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/SeniorDeveloper/SeniorDeveloper.png",
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/SeniorDeveloper/SeniorDeveloper_zh.md",
"usedAt": 1776000797914,
"industryId": "all"
}
] ]
}, },
"lastUpdated": 1776000910040 "lastUpdated": 1776002597201
} }

View File

@@ -58,11 +58,11 @@ public class LoginRecord implements Serializable {
private Integer tenantId; private Integer tenantId;
@Schema(description = "操作时间") @Schema(description = "操作时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime createTime; private LocalDateTime createTime;
@Schema(description = "修改时间") @Schema(description = "修改时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Schema(description = "用户id") @Schema(description = "用户id")