|
@@ -1,6 +1,10 @@
|
|
|
package com.fdkankan.job.controller;
|
|
|
|
|
|
|
|
|
+import com.fdkankan.job.service.IRepairUpXmlUrlService;
|
|
|
+import com.fdkankan.web.response.ResultData;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -17,5 +21,15 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RequestMapping("/job/scenePro")
|
|
|
public class SceneProController {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IRepairUpXmlUrlService repairUpXmlUrlService;
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/test")
|
|
|
+ public ResultData test(){
|
|
|
+ repairUpXmlUrlService.repairSceneUpXmlUrlOfVideos();
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|