|
@@ -5,8 +5,8 @@ import net.yyc.common.core.constant.ServiceNameConstants;
|
|
|
import net.yyc.common.core.util.R;
|
|
import net.yyc.common.core.util.R;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestHeader;
|
|
import org.springframework.web.bind.annotation.RequestHeader;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 调度任务 Feign 服务
|
|
* 调度任务 Feign 服务
|
|
@@ -18,65 +18,65 @@ public interface RemoteScheduleTaskService {
|
|
|
* 每日GMV统计
|
|
* 每日GMV统计
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/statistics/daily-gmvs-statistic")
|
|
@PostMapping("/schedule/statistics/daily-gmvs-statistic")
|
|
|
- R<String> dailyGMVsStatistic(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> dailyGMVsStatistic(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 设置热门文章
|
|
* 设置热门文章
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/article/set-hot-article")
|
|
@PostMapping("/schedule/article/set-hot-article")
|
|
|
- R<String> setHotArticle(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> setHotArticle(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 单会员多月相同金额检测
|
|
* 单会员多月相同金额检测
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/risk/single-member-settle-same-amount")
|
|
@PostMapping("/schedule/risk/single-member-settle-same-amount")
|
|
|
- R<String> singleMemberSettleSameAmount(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> singleMemberSettleSameAmount(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 单会员多月超限检测
|
|
* 单会员多月超限检测
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/risk/single-member-settle-amount-overrun")
|
|
@PostMapping("/schedule/risk/single-member-settle-amount-overrun")
|
|
|
- R<String> singleMemberSettleAmountOverrun(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> singleMemberSettleAmountOverrun(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业向多人支付相同金额检测
|
|
* 企业向多人支付相同金额检测
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/risk/single-enterprise-settle-same-amount")
|
|
@PostMapping("/schedule/risk/single-enterprise-settle-same-amount")
|
|
|
- R<String> singleEnterpriseSettleSameAmount(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> singleEnterpriseSettleSameAmount(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 单会员多月无指定任务类型检测
|
|
* 单会员多月无指定任务类型检测
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/risk/single-member-without-task-types")
|
|
@PostMapping("/schedule/risk/single-member-without-task-types")
|
|
|
- R<String> singleMemberWithoutTaskTypes(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> singleMemberWithoutTaskTypes(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 刷新已结算积分包的任务终审积分
|
|
* 刷新已结算积分包的任务终审积分
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/task/refresh-final-review-score")
|
|
@PostMapping("/schedule/task/refresh-final-review-score")
|
|
|
- R<String> refreshFinalReviewScoreForSettlement(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> refreshFinalReviewScoreForSettlement(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 发送当日结算数据给企业邮箱
|
|
* 发送当日结算数据给企业邮箱
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/task/send-settle-data-to-dept")
|
|
@PostMapping("/schedule/task/send-settle-data-to-dept")
|
|
|
- R<String> sendCurrentDaySettleDataToDept(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> sendCurrentDaySettleDataToDept(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 发送锋信易申请数据给企业邮箱
|
|
* 发送锋信易申请数据给企业邮箱
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/promotion/send-fxy-apply")
|
|
@PostMapping("/schedule/promotion/send-fxy-apply")
|
|
|
- R<String> sendFxyApply(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> sendFxyApply(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 发送推广点击记录给企业邮箱
|
|
* 发送推广点击记录给企业邮箱
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/promotion/send-promotion-record")
|
|
@PostMapping("/schedule/promotion/send-promotion-record")
|
|
|
- R<String> sendPromotionRecord(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> sendPromotionRecord(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 批量更新过期积分包状态
|
|
* 批量更新过期积分包状态
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/schedule/task/batch-update-package-status")
|
|
@PostMapping("/schedule/task/batch-update-package-status")
|
|
|
- R<String> batchUpdatePackageStatus(@RequestParam String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
|
|
|
|
+ R<String> batchUpdatePackageStatus(@RequestParam("params") String params, @RequestHeader(SecurityConstants.FROM) String from);
|
|
|
}
|
|
}
|