|
@@ -1574,19 +1574,17 @@ public class BatchController {
|
|
|
/**
|
|
|
* 获取视频信息
|
|
|
*
|
|
|
- * @param accountId
|
|
|
* @param photoId
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping(value = "/getVideoDetail")
|
|
|
- public Result<KuaiShouVideoGet> getVideoDetail(Long accountId, String photoId) {
|
|
|
+ public Result<KuaiShouVideoGet> getVideoDetail(String photoId) {
|
|
|
Result<KuaiShouVideoGet> result = new Result<>();
|
|
|
try {
|
|
|
- if (Check.isNull(accountId) || Check.isNull(photoId)) {
|
|
|
+ if (Check.isNull(photoId)) {
|
|
|
throw new Exception("参数错误");
|
|
|
}
|
|
|
QueryWrapper<KuaiShouVideoGet> videoGetQueryWrapper = new QueryWrapper<>();
|
|
|
- videoGetQueryWrapper.eq("account_id", accountId);
|
|
|
videoGetQueryWrapper.eq("photo_id", photoId);
|
|
|
videoGetQueryWrapper.orderByDesc("create_time").last("limit 1");
|
|
|
KuaiShouVideoGet video = videoGetService.getOne(videoGetQueryWrapper);
|
|
@@ -2211,7 +2209,6 @@ public class BatchController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 收藏标题
|
|
|
*
|
|
@@ -2233,7 +2230,6 @@ public class BatchController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
result.setSuccess(false);
|
|
@@ -2243,7 +2239,4 @@ public class BatchController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|