Skip to content

Commit 88bba3f

Browse files
authored
Merge pull request xingePush#25 from xingePush/19
xingePush#19 https 域名访问偶发错误
2 parents 27c64db + de4581e commit 88bba3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/com/tencent/xinge/bean/ios/Aps.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Aps {
1616
private int badge_type;
1717

1818
@JsonProperty(value = "sound")
19-
private Sound sound;
19+
private String sound;
2020

2121
@JsonProperty(value = "content-available")
2222
private int content_available;
@@ -85,11 +85,11 @@ public void setCategory(String category) {
8585
this.category = category;
8686
}
8787

88-
public Sound getSound() {
88+
public String getSound() {
8989
return sound;
9090
}
9191

92-
public void setSound(Sound sound) {
92+
public void setSound(String sound) {
9393
this.sound = sound;
9494
}
9595

src/test/java/com/tencent/xinge/push/app/PushSingleAccountIOSTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void testPushSingleAccountIOS() {
3939
pushAppRequest.setEnvironment(Environment.dev);
4040
pushAppRequest.setMessage_type(MessageType.notify);
4141
pushAppRequest.setMessage(message);
42-
pushAppRequest.setSend_time("1111111");
42+
pushAppRequest.setSend_time("2018-10-10 10:49:22");
4343
pushAppRequest.setStat_tag("test");
4444
pushAppRequest.setPush_id("0");
4545
pushAppRequest.setAccount_list(accountList);

0 commit comments

Comments
 (0)