admin
2020-11-28 dc5be7d38446f70e6ff86df311119c32b41fe7f8
fanli/src/main/java/com/yeshi/fanli/job/RedPackJob.java
@@ -8,11 +8,12 @@
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;
@@ -29,10 +30,16 @@
   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");