Skip to content

Commit 538c9cb

Browse files
author
Hevin
committed
Merge branch 'v2-dev' into v2
2 parents 6d07bec + 0abfa4e commit 538c9cb

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Jiguang.JPush/Jiguang.JPush.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard1.3</TargetFramework>
4+
<TargetFrameworks Condition="'$(LibraryFrameworks)'==''">netstandard1.1;netstandard1.3</TargetFrameworks>
5+
<TargetFrameworks Condition="'$(LibraryFrameworks)'!=''">$(LibraryFrameworks)</TargetFrameworks>
56
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
67
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
78
<Description>The CSharp api client by Jiguang.</Description>
@@ -10,11 +11,17 @@
1011
<Product>JPush</Product>
1112
<Copyright>MIT</Copyright>
1213
<PackageLicenseUrl></PackageLicenseUrl>
13-
<Version>1.0.5</Version>
14+
<Version>1.0.6</Version>
1415
</PropertyGroup>
1516

1617
<ItemGroup>
1718
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
1819
</ItemGroup>
1920

21+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
22+
<PackageReference Include="System.Net.Http">
23+
<Version>4.3.2</Version>
24+
</PackageReference>
25+
</ItemGroup>
26+
2027
</Project>

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)