| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.xcong.excoin.modules.yunding.dao.YdBasicSettingDao; |
| | | import com.xcong.excoin.modules.yunding.entity.YdBasicSettingEntity; |
| | | import com.xcong.excoin.modules.yunding.service.XchProfitService; |
| | | import com.xcong.excoin.utils.RedisUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | private YdBasicSettingDao ydBasicSettingDao; |
| | | @Autowired |
| | | private RedisUtils redisUtils; |
| | | @Autowired |
| | | private XchProfitService xchProfitService; |
| | | |
| | | @Scheduled(cron = "* */1 * * * ? ") |
| | | public void baseDataUpdate() { |
| | |
| | | |
| | | return result; |
| | | } |
| | | |
| | | // @Scheduled(cron = "0 0 23 * * ?") |
| | | public void xchProfitJob() { |
| | | log.info("XCH收益返利任务"); |
| | | // xchProfitService.xchProfitDistributor(); |
| | | } |
| | | |
| | | // @Scheduled(cron = "0 0 22 * * ?") |
| | | public void usdtProfitJob() { |
| | | log.info("USDT返利任务"); |
| | | xchProfitService.agentUsdtProfitDistributor(); |
| | | } |
| | | } |