wfansh 5 months ago
parent
commit
425a3d885f

+ 21 - 26
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/seo/mapper/SeoKeywordsMapper.java

@@ -10,18 +10,19 @@ import org.jeecg.modules.adweb.seo.vo.RankInfoVO;
 import java.util.List;
 
 /**
- * @Description: 关键词 @Author: jeecg-boot @Date: 2024-10-15 @Version: V1.0
+ * @Description: 关键词
+ * @Author: jeecg-boot
+ * @Date:   2024-10-15
+ * @Version: V1.0
  */
 public interface SeoKeywordsMapper extends BaseMapper<SeoKeywords> {
     /**
      * 根据站点和套餐id
-     *
      * @param siteCode
      * @param subscriptionId
      * @return
      */
-    List<String> getKeywordsLastSevenDays(
-            String siteCode, String subscriptionId, Integer keywordType);
+    List<String> getKeywordsLastSevenDays(String siteCode, String subscriptionId, Integer keywordType);
 
     /**
      * 查询关键词排名数据
@@ -29,13 +30,7 @@ public interface SeoKeywordsMapper extends BaseMapper<SeoKeywords> {
      * @param siteCode siteCode
      * @return 当日排名在前n页的数量
      */
-    RankInfoVO queryKeywordNumByRankRange(
-            @Param("siteCode") String siteCode,
-            @Param("subscriptionId") String subscriptionId,
-            @Param("rankStart") Integer rankStart,
-            @Param("rankEnd") Integer rankEnd,
-            @Param("dateStr") String dateStr,
-            @Param("keywordType") String keywordType);
+    RankInfoVO queryKeywordNumByRankRange(@Param("siteCode") String siteCode, @Param("subscriptionId") String subscriptionId, @Param("rankStart") Integer rankStart, @Param("rankEnd") Integer rankEnd, @Param("dateStr") String dateStr, @Param("keywordType") String keywordType);
 
     /**
      * 根据站点code获取关键词达标标准
@@ -50,25 +45,25 @@ public interface SeoKeywordsMapper extends BaseMapper<SeoKeywords> {
      *
      * @return 关键词列表
      */
-    IPage<SeoKeywords> getKeywordList(
-            IPage<SeoKeywords> page,
-            Integer rankStart,
-            Integer rankEnd,
-            boolean isCustomer,
-            String keyword,
-            String siteCode,
-            Integer keywordType,
-            String datesStr,
-            String subscriptionId,
-            String column,
-            String order,
-            String buttonColumn,
-            String buttonSort);
+    IPage<SeoKeywords> getKeywordList(IPage<SeoKeywords> page,
+                                      Integer rankStart,
+                                      Integer rankEnd,
+                                      boolean isCustomer,
+                                      String keyword,
+                                      String siteCode,
+                                      Integer keywordType,
+                                      String datesStr,
+                                      String subscriptionId,
+                                      String column,
+                                      String order,
+                                      String buttonColumn,
+                                      String buttonSort);
 
     /**
      * 获取当日需要DateForSEO Serp查询的关键词列表
      *
      * @return 关键词列表
      */
-    List<SeoKeywords> getKeywordsToSerp(List<String> sideCodes, int keywordType, int limit);
+    List<SeoKeywords> getKeywordsToSerp(List<String> sideCodesm, int keywordType, int limit);
+
 }

+ 1 - 1
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

@@ -264,7 +264,7 @@ jeecg:
       lowCodeMode: dev
   #xxl-job配置 - jeecg-boot-starter3-job
   xxljob:
-    enabled: false
+    enabled: true
     adminAddresses: http://localhost:8090/xxl-job-admin/
     appname: ${spring.application.name}
     accessToken: 4j9Z@FapJQKLuQtG