From 29952e1e673e87d4ac1fc8f7c2d6088c975fa99f Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期一, 28 十一月 2022 11:00:39 +0800 Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/TokenException.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/TokenException.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/TokenException.java index 307d74d..f94d8a7 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/TokenException.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/TokenException.java @@ -6,20 +6,22 @@ * @author: huang.hongfa weixin hhf9596 qq 959656820 * @create: 2020-11-24 15:01 **/ -public class TokenException extends RuntimeException{ +public class TokenException extends RuntimeException { private static final long serialVersionUID = 1L; - private String msg="token校验失败"; + private String msg = "token校验失败"; private int code = 401; public TokenException(String msg) { super(msg); this.msg = msg; } + public TokenException() { super(); } + public TokenException(String msg, Throwable e) { super(msg, e); this.msg = msg; -- Gitblit v1.7.1