From 1c3dd4cfa36fa6c9863a7ee904d9170af489584f Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 01 三月 2019 11:17:24 +0800
Subject: [PATCH] 订单修改
---
fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushServiceImpl.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushServiceImpl.java
index 4db0951..b936603 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushServiceImpl.java
@@ -81,6 +81,7 @@
pushRecord.setTitle(title);
pushRecord.setAppName(Constant.systemCommonConfig.getProjectChineseName());
pushRecord.setAccount(1);
+ pushRecord.setCreatetime(java.lang.System.currentTimeMillis());
xmPushService.pushGoods(uid, Long.parseLong(gid), title, content);
iosPushService.pushGoods(uid, Long.parseLong(gid), title, content);
@@ -106,6 +107,7 @@
pushRecord.setUrl(url);
pushRecord.setTitle(title);
pushRecord.setAppName(Constant.systemCommonConfig.getProjectChineseName());
+ pushRecord.setCreatetime(java.lang.System.currentTimeMillis());
xmPushService.pushUrl(uid, url, title, content);
iosPushService.pushUrl(uid, url, title, content);
@@ -135,6 +137,8 @@
pushRecord.setState(1); // 鎴愬姛
pushRecord.setType(4); // 绫诲瀷锛氱珯鍐呬俊
pushRecord.setAppName(Constant.systemCommonConfig.getProjectChineseName());
+ pushRecord.setCreatetime(java.lang.System.currentTimeMillis());
+
xmPushService.pushZNX(uId, null, systemZnx);
iosPushService.pushZNX(uId, null, systemZnx);
hwPushService.pushZNX(uId, null, systemZnx);
@@ -160,6 +164,8 @@
pushRecord.setState(1); // 鎴愬姛
pushRecord.setType(PushController.ZNX); // 绫诲瀷锛氱珯鍐呬俊
pushRecord.setAppName(Constant.systemCommonConfig.getProjectChineseName());
+ pushRecord.setCreatetime(java.lang.System.currentTimeMillis());
+
pushRecordMapper.insertSelective(pushRecord);
}
}
@@ -176,6 +182,7 @@
@Override
public void pushBaiChuanUrl(Long uid, String title, String content, String url) throws PushException {
iosPushService.pushBaiChuanUrl(uid, title, content, url);
+ xmPushService.pushBaiChuanUrl(uid, title, content, url);
}
}
--
Gitblit v1.8.0