|
@@ -1,8 +1,8 @@
|
|
|
package cn.com.ctop.job.kuaishou.handler;
|
|
|
|
|
|
import cn.com.ctop.kuaishou.modules.material.service.IKuaishouBidWarningService;
|
|
|
-import org.quartz.JobExecutionContext;
|
|
|
-import org.quartz.JobExecutionException;
|
|
|
+import com.xxl.job.core.biz.model.ReturnT;
|
|
|
+import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -13,11 +13,10 @@ public class KuaishouAccountBidJob {
|
|
|
|
|
|
/**
|
|
|
* 出价预警
|
|
|
- *
|
|
|
- * @param jobExecutionContext
|
|
|
- * @throws JobExecutionException
|
|
|
- */
|
|
|
- public void execute(JobExecutionContext jobExecutionContext) {
|
|
|
+ **/
|
|
|
+ @XxlJob("kuaishouAccountBidJob")
|
|
|
+ public ReturnT<String> execute(String param) {
|
|
|
bidWarningService.bidWarning();
|
|
|
+ return ReturnT.SUCCESS;
|
|
|
}
|
|
|
}
|