Skip to content

Commit

Permalink
优化小米ios服务端推送
Browse files Browse the repository at this point in the history
  • Loading branch information
taoweiji committed Sep 10, 2020
1 parent f07b818 commit 931e6f1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
16 changes: 16 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public MiAPNsPushProvider(String appSecretKey, boolean test) {
protected Message toMessage(MixPushMessage mixPushMessage) {
Message.IOSBuilder builder = new Message.IOSBuilder()
.title(mixPushMessage.getTitle())
.subtitle(mixPushMessage.getDescription())
.body(mixPushMessage.getDescription())
.extra("payload", mixPushMessage.isJustOpenApp() ? "{}" : mixPushMessage.getPayload())
.timeToLive(mixPushMessage.getConfig().getTimeToLive())
.timeToSend(mixPushMessage.getTimeToSend());
Expand Down

0 comments on commit 931e6f1

Please sign in to comment.