package cn.lili.handler.impl.broadcast; import cn.lili.handler.EveryHourExecute; import cn.lili.modules.goods.service.CommodityService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * 小程序直播状态获取 * * @author Bulbasaur * @since 2021/5/20 2:52 下午 */ @Component public class BroadcastExecute implements EveryHourExecute { @Autowired private CommodityService commodityService; @Override public void execute() { //同步直播商品状态 commodityService.getGoodsWareHouse(); } }