Browse Source

Merge branch 'serp' of wangfan/adweb3-server into master

wangfan 5 months ago
parent
commit
03709b88c3

+ 8 - 6
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/xxl/DataForSEOJob.java

@@ -27,10 +27,10 @@ public class DataForSEOJob {
     @Autowired private DataForSEOService dataForSEOService;
 
     @XxlJob("runLongTailKeywordsSerpTasksHandler")
-    public ReturnT<String> runLongTailKeywordsSerpTasksHandler(String param) {
-        log.info("执行长尾词Serp查询..., param = {}", param);
+    public ReturnT<String> runLongTailKeywordsSerpTasksHandler(String siteCodes) {
+        log.info("执行长尾词Serp查询..., site codes = {}", siteCodes);
         dataForSEOService.runKeywordsSerpTasks(
-                this.parseSiteCodes(param),
+                this.parseSiteCodes(siteCodes),
                 AdwebConstant.KEYWORD_TYPE_LONG_TAIL,
                 Integer.MAX_VALUE);
         log.info("执行长尾词Serp查询结束");
@@ -39,10 +39,12 @@ public class DataForSEOJob {
     }
 
     @XxlJob("runAppointKeywordsSerpTasksHandler")
-    public ReturnT<String> runAppointKeywordsSerpTasksHandler(String param) {
-        log.info("执行指定词Serp查询..., param = {}", param);
+    public ReturnT<String> runAppointKeywordsSerpTasksHandler(String siteCodes) {
+        log.info("执行指定词Serp查询..., site codes = {}", siteCodes);
         dataForSEOService.runKeywordsSerpTasks(
-                this.parseSiteCodes(param), AdwebConstant.KEYWORD_TYPE_APPOINT, Integer.MAX_VALUE);
+                this.parseSiteCodes(siteCodes),
+                AdwebConstant.KEYWORD_TYPE_APPOINT,
+                Integer.MAX_VALUE);
         log.info("执行指定词Serp查询结束");
 
         return ReturnT.SUCCESS;