提交 fbd77115 authored 作者: 吕本才's avatar 吕本才

1、增加生意参谋竞店、竞品的接口查询

上级 74847d52
......@@ -34,6 +34,8 @@ public enum ECode implements StatusCode {
KQMX_CURRENTLY_TYPE_KQ_HAS(900, "不可重复打卡;"),
KQMX_CLOCK_IN_ERRPR(901, "考勤异常;"),
FEISHU_ACCESS_TOKEN_ERROR(902, "飞书用户获取失败;"),
;
......@@ -55,4 +57,4 @@ public enum ECode implements StatusCode {
return msg;
}
}
\ No newline at end of file
}
package com.sfa.common.core.exception.auth;
import com.sfa.common.core.constant.StatusCode;
/**
* 未能通过的登录认证异常
*
*
* @author ruoyi
*/
public class NotLoginException extends RuntimeException
{
private static final long serialVersionUID = 1L;
/**
* 错误码
*/
private Integer code;
/**
* 错误提示
*/
private String msg;
public NotLoginException(String message)
{
super(message);
}
public NotLoginException(StatusCode statusCode) {
this.code = statusCode.getCode();
this.msg = statusCode.getMsg();
}
public int getCode() {
return code;
}
public String getMsg() {
return msg;
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论