新增配置参数错误

This commit is contained in:
wanggeng888 2021-04-08 22:52:26 +08:00
parent 667515ae65
commit d25463180a

View File

@ -68,6 +68,8 @@ public class ResponseAdvice {
result.setCode(ErrorResult.ErrorResultCodeEnum.DEVICE_ERROR.getValue()); result.setCode(ErrorResult.ErrorResultCodeEnum.DEVICE_ERROR.getValue());
} else if (e instanceof AppVersionException) { } else if (e instanceof AppVersionException) {
result.setCode(ErrorResult.ErrorResultCodeEnum.DEVICE_VERSION_ERROR.getValue()); 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) { } else if (e instanceof AccessTokenException) {
response.setStatus(HttpStatus.UNAUTHORIZED.value()); response.setStatus(HttpStatus.UNAUTHORIZED.value());
} }