|
@@ -2,6 +2,7 @@ package com.tzld.longarticle.recommend.server.web.recommend;
|
|
|
|
|
|
import com.tzld.longarticle.recommend.server.common.response.CommonResponse;
|
|
|
import com.tzld.longarticle.recommend.server.model.param.ArticleDangerFindDeleteParam;
|
|
|
+import com.tzld.longarticle.recommend.server.model.param.ArticleVideoAuditResultParam;
|
|
|
import com.tzld.longarticle.recommend.server.service.recommend.ArticleAuditService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -16,16 +17,16 @@ public class ArticleAuditController {
|
|
|
private ArticleAuditService service;
|
|
|
|
|
|
|
|
|
-// @GetMapping("/articleVideoAudit")
|
|
|
-// public void articleVideoAudit(String dateStr) {
|
|
|
-// service.articleVideoAudit(dateStr);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @PostMapping("/articleVideoAuditResult")
|
|
|
-// public CommonResponse<Void> articleVideoAuditResult(@RequestBody ArticleVideoAuditResultParam param) {
|
|
|
-// service.articleVideoAuditResult(param);
|
|
|
-// return CommonResponse.success();
|
|
|
-// }
|
|
|
+ @GetMapping("/articleVideoAudit")
|
|
|
+ public void articleVideoAudit(String dateStr) {
|
|
|
+ service.articleVideoAudit(dateStr);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/articleVideoAuditResult")
|
|
|
+ public CommonResponse<Void> articleVideoAuditResult(@RequestBody ArticleVideoAuditResultParam param) {
|
|
|
+ service.articleVideoAuditResult(param);
|
|
|
+ return CommonResponse.success();
|
|
|
+ }
|
|
|
|
|
|
@PostMapping("/titleDangerFindDelete")
|
|
|
public CommonResponse<Void> titleDangerFindDelete(@RequestBody ArticleDangerFindDeleteParam param) {
|