2 changed files with 3 additions and 20 deletions
@ -1,17 +0,0 @@ |
|||
package com.epmet.openapi.scan.common.exception; |
|||
|
|||
import com.epmet.openapi.scan.common.enu.SysResponseEnum; |
|||
|
|||
/** |
|||
* @author jianjun liu |
|||
* @date 2020-06-05 10:31 |
|||
**/ |
|||
public class AuthException extends RuntimeException { |
|||
private int code; |
|||
private String msg; |
|||
|
|||
public AuthException() { |
|||
this.code = SysResponseEnum.AUTH_FAIL.getCode(); |
|||
this.msg = SysResponseEnum.AUTH_FAIL.getMsg(); |
|||
} |
|||
} |
Loading…
Reference in new issue