Skip to content

Commit fd521c9

Browse files
author
Hevin
committed
Fixed missing delay_time when it's zero
1 parent cc53615 commit fd521c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jiguang.JPush/Model/SmsMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class SmsMessage
1111
[JsonProperty("content")]
1212
public string Content { get; set; }
1313

14-
[JsonProperty("delay_time")]
14+
[JsonProperty("delay_time", DefaultValueHandling = DefaultValueHandling.Include)]
1515
public int DelayTime { get; set; }
1616
}
1717
}

0 commit comments

Comments
 (0)