| | |
| | | import com.yeshi.fanli.util.Constant; |
| | | import com.yeshi.fanli.util.StringUtil; |
| | | import com.yeshi.fanli.util.mq.cmq.PushCMQManager; |
| | | import com.yeshi.fanli.util.mq.rabbit.RabbitmqManager; |
| | | import com.yeshi.fanli.util.push.HWPushUtil; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private SystemConfigService systemConfigService; |
| | | |
| | | @Resource |
| | | private PushCMQManager pushCMQManager; |
| | | |
| | | private List<Integer> getVersionCodeList(List<Integer> versionCodeList,SystemEnum system) { |
| | | List<Integer> versionList = new ArrayList<>(); |
| | |
| | | String goodsId, PushBaseContent content) { |
| | | //添加到推送队列 |
| | | PushContentDetailDTO dto = new PushContentDetailDTO(type, uid, url, webUrl, goodsId, content); |
| | | PushCMQManager.getInstance().addHWPush(dto); |
| | | pushCMQManager.addHWPush(dto); |
| | | } |
| | | |
| | | /** |