|
@@ -6,6 +6,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.modules.adweb.seo.dto.ComprehensiveStatistics;
|
|
|
+import org.jeecg.modules.adweb.seo.entity.SeoPlanSubscription;
|
|
|
import org.jeecg.modules.adweb.seo.service.ISeoKeywordsRankService;
|
|
|
import org.jeecg.modules.adweb.site.entity.AdwebSite;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -33,6 +34,15 @@ public class SeoKeywordsRankController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 根据 站点code 获取 站点的 订阅Id
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/getSubscriptionIdBySiteCode")
|
|
|
+ public Result<List<SeoPlanSubscription>> getSubscriptionIdBySiteCode(@RequestParam String siteCode) {
|
|
|
+ final List<SeoPlanSubscription> subscriptionIdBySiteCode = seoKeywordsRankService.getSubscriptionIdBySiteCode(siteCode);
|
|
|
+ return Result.OK(subscriptionIdBySiteCode);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 获得综合统计信息
|
|
|
*/
|
|
|
@GetMapping(value = "/comprehensiveInfo")
|