| | |
| | | package com.panzhihua.timejob.jobhandler; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.xxl.job.core.biz.model.ReturnT; |
| | | import com.xxl.job.core.handler.annotation.XxlJob; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.Resource; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | @Slf4j |
| | | @Component |
| | |
| | | @XxlJob("timedTaskEasyPhotoActivityJobHandler") |
| | | public ReturnT<String> timedTaskEasyPhotoActivityJobHandler(String param) throws Exception { |
| | | log.info("定时任务扫描随手拍活动是否开始,激活状态"); |
| | | R r=communityService.timedTaskEasyPhotoActivity(); |
| | | log.info("执行结果【{}】",r.toString()); |
| | | R r = communityService.timedTaskEasyPhotoActivity(); |
| | | log.info("执行结果【{}】", r.toString()); |
| | | return ReturnT.SUCCESS; |
| | | } |
| | | } |