| | |
| | | import com.yeshi.fanli.service.inter.push.IOSPushService;
|
| | | import com.yeshi.fanli.service.inter.user.ExtractService;
|
| | | import com.yeshi.fanli.service.inter.user.UserInfoService;
|
| | | import com.yeshi.fanli.service.inter.user.UserSystemCouponService;
|
| | |
|
| | | /**
|
| | | * 系统初始化
|
| | |
| | |
|
| | | @Resource
|
| | | private QualityFactoryService qualityFactoryService;
|
| | | |
| | | @Resource
|
| | | private UserSystemCouponService userSystemCouponService;
|
| | | |
| | |
|
| | | private static boolean isInited = false;
|
| | |
|
| | |
| | | ThreeSale threeSale = map.get(key);
|
| | | if (threeSale != null) {
|
| | | if (threeSale.getState() != null && threeSale.getState() == true) {
|
| | | // 邀请成功
|
| | |
|
| | | // TODO 券激活生效
|
| | | // threeSale.getBoss().getId();
|
| | |
|
| | | // 邀请成功 - 券激活生效
|
| | | Long bossId = threeSale.getBoss().getId();
|
| | | userSystemCouponService.activatedWelfareFreeCoupon(bossId);
|
| | | }
|
| | | }
|
| | | ThreeSaleCMQManager.getInstance()
|