摘要:
package me.zhengjie.common.exception; import org.springframework.util.StringUtils; import java.util.HashMap; import java.util.Map; import java.util.st 阅读全文
posted @ 2019-07-20 10:51
tonggc1668
阅读(440)
评论(0)
推荐(0)
摘要:
package me.zhengjie.common.utils; import me.zhengjie.common.exception.BadRequestException; import java.util.Optional; /** * 验证工具 * @author jie * @date 2018-11-23 */ public class ValidationUtil ... 阅读全文
posted @ 2019-07-20 10:48
tonggc1668
阅读(311)
评论(0)
推荐(0)
摘要:
package me.zhengjie.common.exception; import lombok.Getter; import org.springframework.http.HttpStatus; import static org.springframework.http.HttpStatus.BAD_REQUEST; /** * @author jie * @date 2... 阅读全文
posted @ 2019-07-20 10:47
tonggc1668
阅读(1459)
评论(0)
推荐(0)
摘要:
package me.zhengjie.core.utils; import org.springframework.util.DigestUtils; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec... 阅读全文
posted @ 2019-07-20 10:45
tonggc1668
阅读(1335)
评论(0)
推荐(0)
摘要:
package me.zhengjie.core.security; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Getter; import org.springframework.security.core.GrantedAuthori... 阅读全文
posted @ 2019-07-20 10:41
tonggc1668
阅读(424)
评论(0)
推荐(0)