xueyiming il y a 3 mois
Parent
commit
f6639802e1

+ 3 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/web/video/MatchVideoController.java

@@ -14,6 +14,8 @@ import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.io.UnsupportedEncodingException;
+
 @RestController
 @RequestMapping("/matchVideo")
 public class MatchVideoController {
@@ -37,7 +39,7 @@ public class MatchVideoController {
     }
 
     @PostMapping("/recallideos")
-    public String recallVideos(@RequestBody RecallVideosParam recallVideosParam) {
+    public String recallVideos(@RequestBody RecallVideosParam recallVideosParam) throws UnsupportedEncodingException {
         return matchVideoService.recallVideos(recallVideosParam);
     }