admin
2019-07-11 3824cbcaec6e6c67418d5280a53e9c2fedeef6f9
fanli/src/main/java/com/yeshi/fanli/service/impl/push/HWPushServiceImpl.java
@@ -5,6 +5,7 @@
import javax.annotation.Resource;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import com.yeshi.fanli.controller.admin.PushController;
@@ -29,8 +30,9 @@
   @Resource
   private DeviceTokenHWService deviceTokenHWService;
   @Async("pushExecutor")
   @Override
   public void pushGoods(Long uid, Long auctionId, String title, String content, List<String> listVersion) throws PushException {
   public void pushGoods(Long uid, Long auctionId, String title, String content, String versions) throws PushException {
      String gid = auctionId + "";
      JSONObject json = new JSONObject();
      json.put("url", "");
@@ -82,8 +84,10 @@
      }
   }
   @Async("pushExecutor")
   @Override
   public void pushUrl(Long uid, String url, String title, String content, List<String> listVersion) throws PushException {
   public void pushUrl(Long uid, String url, String title, String content, String versions) throws PushException {
      JSONObject json = new JSONObject();
      json.put("url", url);
      json.put("type", "url");
@@ -151,8 +155,10 @@
      }
   }
   @Async("pushExecutor")
   @Override
   public void pushZNX(Long uid, AccountMessage msg, SystemZnx systemZNX, List<String> listVersion) throws PushException {
   public void pushZNX(Long uid, AccountMessage msg, SystemZnx systemZNX, String versions) throws PushException {
      JSONObject contentJson = new JSONObject();
      contentJson.put("isOpen", 0);
@@ -203,20 +209,23 @@
      }
   }
   @Async("pushExecutor")
   @Override
   public void pushWEEX(Long uid, String title, String content, String weexUrl, List<String> listVersion) throws PushException {
   public void pushWEEX(Long uid, String title, String content, String weexUrl, String versions) throws PushException {
      // TODO 推送weex页面
   }
   @Async("pushExecutor")
   @Override
   public void pushBaiChuanUrl(Long uid, String title, String content, String url, List<String> listVersion) throws PushException {
   public void pushBaiChuanUrl(Long uid, String title, String content, String url, String versions) throws PushException {
      // TODO 推送淘客百川链接
   }
   @Async("pushExecutor")
   @Override
   public void pushWelfareCenter(Long uid, String title, String content, List<String> listVersion) throws PushException {
   public void pushWelfareCenter(Long uid, String title, String content, String versions) throws PushException {
      // TODO Auto-generated method stub
      
   }