记得上下班打卡 | git大法好,push需谨慎

Commit 928139ec authored by zhoujianping's avatar zhoujianping

1.修改IOS推送相关功能

parent a5f8eebd
...@@ -48,6 +48,7 @@ temp/ ...@@ -48,6 +48,7 @@ temp/
# IntelliJ project files # IntelliJ project files
.idea .idea
*.iml *.iml
.yml
out out
gen gen
......
...@@ -979,7 +979,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService { ...@@ -979,7 +979,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
public void sendIOSBroadcast(String deviceTokens,KylinPerformanceSubscribeUpushVo kylinPerformanceSubscribeUpushVo) { public void sendIOSBroadcast(String deviceTokens,KylinPerformanceSubscribeUpushVo kylinPerformanceSubscribeUpushVo) {
AdminUpush updatePush = new AdminUpush(); AdminUpush updatePush = new AdminUpush();
try { try {
IOSBroadcast broadcast = new IOSBroadcast(iosAppkey, iosAppMasterSecret,"type"); IOSBroadcast broadcast = new IOSBroadcast(iosAppkey, iosAppMasterSecret,"unicast");
//alert的值设置为字典 //alert的值设置为字典
broadcast.setAlert("【正在现场】开票提醒", "", kylinPerformanceSubscribeUpushVo.getPushContent()); broadcast.setAlert("【正在现场】开票提醒", "", kylinPerformanceSubscribeUpushVo.getPushContent());
broadcast.setBadge(1); broadcast.setBadge(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment