yumeng 4 سال پیش
والد
کامیت
f8c9d68112

+ 0 - 2
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/KuaishouAiCreativeJob.java

@@ -26,8 +26,6 @@ import java.util.Map;
 public class KuaishouAiCreativeJob {
 public class KuaishouAiCreativeJob {
     @Autowired
     @Autowired
     private IAiKuaishouAdvertiserStrategyService strategyService;
     private IAiKuaishouAdvertiserStrategyService strategyService;
-    @Autowired
-    private IAiKuaishouCreateCreativeService createCreativeService;
 
 
     /**
     /**
      * 自定义上新创意
      * 自定义上新创意

+ 2 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/controller/AiKuaishouCreateCreativeController.java

@@ -10,6 +10,7 @@ import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
 
 
 import java.text.ParseException;
 import java.text.ParseException;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.ExecutorService;
@@ -17,6 +18,7 @@ import java.util.concurrent.Executors;
 
 
 @Slf4j
 @Slf4j
 @Api(tags = "快手-自动投放")
 @Api(tags = "快手-自动投放")
+@RestController
 @RequestMapping("/ai/create")
 @RequestMapping("/ai/create")
 public class AiKuaishouCreateCreativeController {
 public class AiKuaishouCreateCreativeController {
     @Autowired
     @Autowired