Skip to content

Commit

Permalink
Merge pull request #3075 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
更新 Console Sample,完成 weixinSetting.Items 赋值和读取测试
  • Loading branch information
JeffreySu authored Sep 29, 2024
2 parents 01bc80d + 2fb722c commit eb86ec8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageReference Include="Senparc.AI.Kernel" Version="0.18.0" />
<PackageReference Include="Senparc.NeuChar" Version="2.4.3" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.16.2" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.16.3" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
<PackageReference Include="System.Diagnostics.FileVersionInfo" Version="4.3.0" />
<PackageReference Include="ZXing.Net" Version="0.16.9" />
Expand All @@ -31,15 +31,15 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Senparc.WebSocket" Version="1.0.1" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="1.0.1" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.17.2" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.19.2" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.22.2" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.20.2" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.6.3" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.22.3" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.20.3" />
<PackageReference Include="Senparc.WebSocket" Version="1.0.2" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="1.0.2" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.17.3" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.19.3" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.22.3" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.20.3" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.6.4" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.23.1" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.20.4" />
</ItemGroup>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ and limitations under the License.

var weixinSetting = Senparc.Weixin.Config.SenparcWeixinSetting;

Console.WriteLine("## weixinSetting");
Console.WriteLine(weixinSetting.ToJson(true, new Newtonsoft.Json.JsonSerializerSettings() { ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore }));
Console.WriteLine();
//Console.WriteLine(weixinSetting.Items["【盛派网络小助手】公众号"].ToJson(true));
Console.WriteLine("## 【盛派网络小助手】公众号");
Console.WriteLine(weixinSetting.Items["【盛派网络小助手】公众号"].ToJson(true));

Console.ReadLine();
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Senparc.WebSocket" Version="1.0.1" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="1.0.1" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.17.2" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.19.2" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.22.2" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.20.2" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.16.2" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.6.3" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.22.3" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.20.3" />
<PackageReference Include="Senparc.WebSocket" Version="1.0.2" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="1.0.2" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.17.3" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.19.3" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.22.3" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.20.3" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.16.3" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.6.4" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.23.1" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.20.4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit eb86ec8

Please sign in to comment.