|
@@ -1,10 +1,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.videoAudit.ArticleAuditParam;
|
|
|
-import com.tzld.longarticle.recommend.server.model.param.videoAudit.ArticleVideoAuditListParam;
|
|
|
-import com.tzld.longarticle.recommend.server.model.param.videoAudit.AuditFilterParam;
|
|
|
-import com.tzld.longarticle.recommend.server.model.param.videoAudit.VideoAuditParam;
|
|
|
+import com.tzld.longarticle.recommend.server.model.param.videoAudit.*;
|
|
|
import com.tzld.longarticle.recommend.server.model.vo.ArticleVideoAuditListVO;
|
|
|
import com.tzld.longarticle.recommend.server.service.recommend.ArticleVideoAuditService;
|
|
|
import com.tzld.longarticle.recommend.server.util.page.Page;
|
|
@@ -51,4 +48,18 @@ public class ArticleVideoAuditController {
|
|
|
return CommonResponse.success();
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @PostMapping("/updateArticleTitle")
|
|
|
+ public CommonResponse<Void> updateArticleTitle(@RequestBody ArticleTitleUpdateParam param) {
|
|
|
+ service.updateArticleTitle(param);
|
|
|
+ return CommonResponse.success();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping("/updateVideoTitle")
|
|
|
+ public CommonResponse<Void> updateVideoTitle(@RequestBody VideoTitleUpdateParam param) {
|
|
|
+ service.updateVideoTitle(param);
|
|
|
+ return CommonResponse.success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|