| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.scheduling.annotation.Scheduled;
|
| | | import org.springframework.stereotype.Component;
|
| | |
|
| | | import com.google.gson.Gson;
|
| | | import com.google.gson.reflect.TypeToken;
|
| | | import com.xxl.job.core.biz.model.ReturnT;
|
| | | import com.xxl.job.core.handler.annotation.XxlJob;
|
| | | import com.yeshi.fanli.dto.user.PullNewRuleTerm;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.service.inter.redpack.RedPackConfigService;
|
| | |
| | | private RedPackConfigService redPackConfigService;
|
| | |
|
| | |
|
| | | |
| | | @XxlJob("RedPackJob-arriveMoney")
|
| | | public ReturnT<String> arriveMoney(String param) throws Exception {
|
| | | arriveMoney();
|
| | | return ReturnT.SUCCESS;
|
| | | }
|
| | | |
| | | /**
|
| | | * 红包每月26到账
|
| | | */
|
| | | @Scheduled(cron = "0 20 0 26 * ? ")
|
| | | public void arriveMoney() {
|
| | | try {
|
| | | String value = redPackConfigService.getValueByKey("win_redpack_term");
|