|
@@ -198,13 +198,13 @@ public class VideoApiService {
|
|
|
uid, excludeVideoIds, pageNum, pageSize, e);
|
|
uid, excludeVideoIds, pageNum, pageSize, e);
|
|
|
}
|
|
}
|
|
|
if (Objects.isNull(res)) {
|
|
if (Objects.isNull(res)) {
|
|
|
- throw new CommonException(ExceptionEnum.VIDEO_DELETE_FAILED);
|
|
|
|
|
|
|
+ throw new CommonException(ExceptionEnum.VIDEO_GET_FAILED);
|
|
|
}
|
|
}
|
|
|
if (res.getInteger("code") != 0) {
|
|
if (res.getInteger("code") != 0) {
|
|
|
log.error("VideoApiService getUserVideoList error, uid={} excludeVideoIds={} pageNum={} pageSize={} res={}",
|
|
log.error("VideoApiService getUserVideoList error, uid={} excludeVideoIds={} pageNum={} pageSize={} res={}",
|
|
|
uid, excludeVideoIds, pageNum, pageSize, res);
|
|
uid, excludeVideoIds, pageNum, pageSize, res);
|
|
|
- throw new CommonException(ExceptionEnum.VIDEO_DELETE_FAILED.getCode(),
|
|
|
|
|
- ExceptionEnum.VIDEO_DELETE_FAILED.getMsg() + "," + res.getString("msg"));
|
|
|
|
|
|
|
+ throw new CommonException(ExceptionEnum.VIDEO_GET_FAILED.getCode(),
|
|
|
|
|
+ ExceptionEnum.VIDEO_GET_FAILED.getMsg() + "," + res.getString("msg"));
|
|
|
}
|
|
}
|
|
|
return res.getJSONArray("data").toJavaList(WxVideoV2VO.class);
|
|
return res.getJSONArray("data").toJavaList(WxVideoV2VO.class);
|
|
|
}
|
|
}
|
|
@@ -226,13 +226,13 @@ public class VideoApiService {
|
|
|
tagName, excludeVideoIds, pageNum, pageSize, e);
|
|
tagName, excludeVideoIds, pageNum, pageSize, e);
|
|
|
}
|
|
}
|
|
|
if (Objects.isNull(res)) {
|
|
if (Objects.isNull(res)) {
|
|
|
- throw new CommonException(ExceptionEnum.VIDEO_DELETE_FAILED);
|
|
|
|
|
|
|
+ throw new CommonException(ExceptionEnum.VIDEO_GET_FAILED);
|
|
|
}
|
|
}
|
|
|
if (res.getInteger("code") != 0) {
|
|
if (res.getInteger("code") != 0) {
|
|
|
log.error("VideoApiService getTagVideoList error, tagName={} excludeVideoIds={} pageNum={} pageSize={} res={}",
|
|
log.error("VideoApiService getTagVideoList error, tagName={} excludeVideoIds={} pageNum={} pageSize={} res={}",
|
|
|
tagName, excludeVideoIds, pageNum, pageSize, res);
|
|
tagName, excludeVideoIds, pageNum, pageSize, res);
|
|
|
- throw new CommonException(ExceptionEnum.VIDEO_DELETE_FAILED.getCode(),
|
|
|
|
|
- ExceptionEnum.VIDEO_DELETE_FAILED.getMsg() + "," + res.getString("msg"));
|
|
|
|
|
|
|
+ throw new CommonException(ExceptionEnum.VIDEO_GET_FAILED.getCode(),
|
|
|
|
|
+ ExceptionEnum.VIDEO_GET_FAILED.getMsg() + "," + res.getString("msg"));
|
|
|
}
|
|
}
|
|
|
return res.getJSONArray("data").toJavaList(WxVideoV2VO.class);
|
|
return res.getJSONArray("data").toJavaList(WxVideoV2VO.class);
|
|
|
}
|
|
}
|