| | |
| | | package cc.mrbird.febs.mall.quartz; |
| | | |
| | | import cc.mrbird.febs.common.properties.XcxProperties; |
| | | import cc.mrbird.febs.common.utils.RedisUtils; |
| | | import cc.mrbird.febs.common.utils.SpringContextHolder; |
| | | import cc.mrbird.febs.mall.entity.MallMemberCoupon; |
| | | import cc.mrbird.febs.mall.mapper.MallMemberCouponMapper; |
| | | import cc.mrbird.febs.mall.service.MallInvoiceService; |
| | |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.web.client.RestTemplate; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | @Slf4j |
| | |
| | | @ConditionalOnProperty(prefix = "system", name = "job", havingValue = "true") |
| | | public class WxxcxJob { |
| | | |
| | | private final XcxProperties xcxProperties = SpringContextHolder.getBean(XcxProperties.class); |
| | | // private final XcxProperties xcxProperties = SpringContextHolder.getBean(XcxProperties.class); |
| | | |
| | | @Autowired |
| | | private RedisUtils redisUtils; |
| | |
| | | private MallMemberCouponMapper mallMemberCouponMapper; |
| | | @Autowired |
| | | private MallInvoiceService mallInvoiceService; |
| | | @Resource |
| | | RestTemplate restTemplate; |
| | | // @Resource |
| | | // RestTemplate restTemplate; |
| | | // @Autowired |
| | | // private SpringContextHolder springContextHolder; |
| | | /** |