package com.yeshi.fanli.service.inter.push; import com.yeshi.fanli.entity.bus.user.AccountMessage; import com.yeshi.fanli.entity.system.SystemZnx; import com.yeshi.fanli.exception.PushException; public interface BasePushService { /** * 推送商品 * * @param uid * @param url * @param title * @param content * @throws PushException */ void pushGoods(Long uid, Long auctionId, String title, String content) throws PushException; /** * 推送链接 * * @param uid * @param url * @param title * @param content * @throws PushException */ void pushUrl(Long uid, String url, String title, String content) throws PushException; /** * 推送站内信 * * @param uId * @param title * @param content * @throws PushException */ void pushZNX(Long uId, AccountMessage msg,SystemZnx systemZNX) throws PushException; /** * 适用版本 1.4.8及以后 * 推送weex页面 * @param uid * @param title * @param content * @param weexUrl * @throws PushException */ void pushWEEX(Long uid, String title, String content, String weexUrl) throws PushException; /** * 适用版本 1.4.8及以后 * 推送百川网页 * @param uid * @param title * @param content * @param url * @throws PushException */ void pushBaiChuanUrl(Long uid, String title, String content, String url) throws PushException; }