摘要: 用户中心系统 一.result封装类: (1)首先要有一个基本的BaseResult封装类,里面有对应的属性(如状态码、数据、信息、描述),此类需要实现序列化。 @Data public class BaseResult<T> implements Serializable { private st 阅读全文
posted @ 2026-01-29 16:34 KaKaWlW 阅读(3) 评论(0) 推荐(0)
摘要: jwt的登录验证 1.JwtProperties(jwt的基本配置项): @Component @ConfigurationProperties(prefix = "sky.jwt") @Data public class JwtProperties { /** * 管理端员工生成jwt令牌相关配置 阅读全文
posted @ 2025-12-22 21:29 KaKaWlW 阅读(23) 评论(0) 推荐(0)