[fix]视频过滤掉已删除的视频
This commit is contained in:
parent
62c330fcec
commit
3f77f37000
@ -152,16 +152,7 @@ public class AppVlogController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@Operation(summary = "已读视频")
|
||||
@GetMapping("/read")
|
||||
public R<Void> read(@RequestBody VlogBO vlogBO) {
|
||||
LoginUser loginUser = LoginHelper.getLoginUser();
|
||||
if (loginUser == null) {
|
||||
return R.notLogin();
|
||||
}
|
||||
vlogService.readVlog(loginUser.getUserId(), vlogBO.getId());
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@Operation(summary = "删除视频")
|
||||
@GetMapping("/delete")
|
||||
public R<Void> delete(@RequestParam String id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user