File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments