Commit fb329a78 authored by yanzg's avatar yanzg

下载视频

parent c414de1f
...@@ -270,7 +270,7 @@ public class ResponseResult<T> extends BaseVo { ...@@ -270,7 +270,7 @@ public class ResponseResult<T> extends BaseVo {
public static final <T, M extends Exception> T isEmpty(M ex, Class<T> cls) throws M { public static final <T, M extends Exception> T isEmpty(M ex, Class<T> cls) throws M {
if (ex instanceof CodeException) { if (ex instanceof CodeException) {
CodeException codeException = (CodeException) ex; CodeException codeException = (CodeException) ex;
if (StringHelper.compare(codeException.getCode(), ResultConstants.RESULT_EMPTY) { if (StringHelper.compare(codeException.getCode(), ResultConstants.RESULT_EMPTY)) {
return null; return null;
} }
throw ex; throw ex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment