新增配置参数错误
This commit is contained in:
parent
667515ae65
commit
d25463180a
@ -68,6 +68,8 @@ public class ResponseAdvice {
|
||||
result.setCode(ErrorResult.ErrorResultCodeEnum.DEVICE_ERROR.getValue());
|
||||
} else if (e instanceof AppVersionException) {
|
||||
result.setCode(ErrorResult.ErrorResultCodeEnum.DEVICE_VERSION_ERROR.getValue());
|
||||
} else if (e instanceof PropertiesException) {
|
||||
result.setCode(ErrorResult.ErrorResultCodeEnum.PROPERTIES_ERROR.getValue());
|
||||
} else if (e instanceof AccessTokenException) {
|
||||
response.setStatus(HttpStatus.UNAUTHORIZED.value());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user