|
@@ -0,0 +1,30 @@
|
|
|
|
|
+package cn.com.ctop.job.bytedance.controller;
|
|
|
|
|
+
|
|
|
|
|
+import cn.com.ctop.job.bytedance.data.service.IDateReportsPushService;
|
|
|
|
|
+import cn.com.ctop.job.bytedance.data.service.IOptimizerRankPushService;
|
|
|
|
|
+import cn.com.ctop.job.bytedance.data.service.IReportsAdPushService;
|
|
|
|
|
+import cn.com.ctop.job.bytedance.data.service.ITotalRankPushService;
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
|
+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;
|
|
|
|
|
+
|
|
|
|
|
+@RestController
|
|
|
|
|
+@RequestMapping("/feishu")
|
|
|
|
|
+@Api(tags = "飞书推送")
|
|
|
|
|
+public class FeishuController {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ ITotalRankPushService totalRankPushService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ IOptimizerRankPushService optimizerRankPushService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ IReportsAdPushService reportsAdPushService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ IDateReportsPushService dateReportsPushService;
|
|
|
|
|
+ @GetMapping("/test")
|
|
|
|
|
+ public void test(){
|
|
|
|
|
+ System.out.println("---feishu test 收到---");
|
|
|
|
|
+ }
|
|
|
|
|
+}
|