|
@@ -0,0 +1,20 @@
|
|
|
+package cn.com.ctop.job.kuaishou.handler;
|
|
|
+
|
|
|
+
|
|
|
+import cn.com.ctop.common.module.utils.HttpUtils;
|
|
|
+import com.xxl.job.core.context.XxlJobHelper;
|
|
|
+import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 申样达人单品出单大于等于50单 定时任务直接审核通过,无需上传作业
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class CheckPromoterStatusJob {
|
|
|
+
|
|
|
+ @XxlJob("checkPromoterStatusJob")
|
|
|
+ public void execute() throws Exception {
|
|
|
+ HttpUtils.httpGet("http://ruixuan.api.tjyourong.com.cn/itemCollectSamples/updateStatusToApproved", null, null);
|
|
|
+ XxlJobHelper.log(" --------达人补全,执行完成-------- ");
|
|
|
+ }
|
|
|
+}
|