| | |
| | | package cc.mrbird.febs.mall.quartz; |
| | | |
| | | import cc.mrbird.febs.common.enumerates.AccountLevelEnums; |
| | | import cc.mrbird.febs.common.enumerates.AgentLevelEnum; |
| | | import cc.mrbird.febs.common.enumerates.MoneyFlowTypeEnum; |
| | | import cc.mrbird.febs.common.utils.MallUtils; |
| | |
| | | * 代理分红 |
| | | */ |
| | | @Scheduled(cron = "0 30 0 * * ?") |
| | | public void profitJob() { |
| | | memberProfitService.agentProfit(); |
| | | public void agentProfitJob() { |
| | | log.info("运行代理分红程序"); |
| | | memberProfitService.agentProfit(AccountLevelEnums.VVIP.getLevel()); |
| | | } |
| | | |
| | | @Scheduled(cron = "5 30 0 * * ?") |
| | | public void partnerProfitJob() { |
| | | log.info("运行股东分红程序"); |
| | | memberProfitService.agentProfit(AccountLevelEnums.VVVIP.getLevel()); |
| | | } |
| | | |
| | | /** |