Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer #2983

Merged
merged 7 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:EventService.cs
文件功能描述:事件处理程序,此代码的简化MessageHandler方法已由/CustomerMessageHandler/CustomerMessageHandler_Event.cs完成
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:LocationService.cs
文件功能描述:地理位置信息处理
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandlerAsync.cs
文件功能描述:自定义MessageHandler(异步方法)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandler.cs
文件功能描述:微信公众号自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkCustomMessageContext.cs
文件功能描述:企业号消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkCustomMessageHandler.cs
文件功能描述:自定义WorkMessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomWxOpenMessageHandler.cs
文件功能描述:微信小程序自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:HomeController.cs
文件功能描述:首页Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:FilterTestController.cs
文件功能描述:演示Senparc.Weixin.MP.MvcExtension.WeixinInternalRequestAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:SimulateToolController.cs
文件功能描述:消息模拟工具
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:MediaController.cs
文件功能描述:根据mediaId获取语音
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:MenuController.cs
文件功能描述:自定义菜单设置工具Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:OAuth2Controller.cs
文件功能描述:提供OAuth2.0授权测试(关注微信公众号:盛派网络小助手,点击菜单【功能体验】 【OAuth2.0授权测试】即可体验)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WeixinAsyncController.cs
文件功能描述:此Controller为异步Controller(Action),使用异步线程处理并发请求。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WeixinController.cs
文件功能描述:用于处理微信回调的信息
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WeixinController_OldPost.cs
文件功能描述:用户发送消息后,微信平台自动Post一个请求到这里,并等待响应XML
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:TenPayApiV3Controller.cs
文件功能描述:微信支付V3 Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:TenPayController.cs
文件功能描述:微信支付Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:TenPayV3Controller.cs
文件功能描述:微信支付V3Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkController.cs
文件功能描述:企业号对接测试(从QYController.cs移植)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:OAuth2Controller.cs
文件功能描述:提供OAuth2.0授权测试(关注微信公众号:盛派网络小助手,点击菜单【功能体验】 【OAuth2.0授权测试】即可体验)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WeixinController.cs
文件功能描述:用于处理微信回调的信息
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandler.cs
文件功能描述:微信公众号自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:LocationService.cs
文件功能描述:地理位置信息处理
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<p>使用 Senparc.Weixin,您可以方便快速地开发微信全平台的应用(包括微信公众号、小程序、小游戏、企业号、开放平台、微信支付、JS-SDK、微信硬件/蓝牙,等等)。本项目的 Demo 同样适合初学者进行 .NET 编程学习。</p>
<p>
目前 Senparc.Weixin 已经支持几乎所有微信平台模块和接口,并同时支持
<a href="https://github.com/JeffreySu/WeiXinMPSDK/tree/Developer" target="_blank">.NET 3.5 / 4.0 / 4.5 / .NET Standard 2.x / .NET Core 2.x / .NET Core 3.x / .NET 6.0</a> 多种框架。
<a href="https://github.com/JeffreySu/WeiXinMPSDK/tree/Developer" target="_blank">.NET 3.5 / 4.0 / 4.5 / .NET Standard 2.x / .NET Core 2.x / .NET Core 3.x / .NET 6.0 / .NET 8.0</a> 多种框架。
</p>
<p>Senparc.Weixin SDK 是目前使用率最高的微信 .NET SDK,也是国内最受欢迎的 .NET 开源项目之一,是唯一入选 <strong>2021“科创中国”开源创新榜</strong><a href="https://tv.sohu.com/v/dXMvOTkyNjI2MTAvMzI3NjU3NDI0LnNodG1s.html?key=/v/dXMvOTkyNjI2MTAvMzI3NjU3NDI0LnNodG1s.html?vid=327657424&vid=327657424" target="_blank">[1]</a> <a href="https://cccst.org.cn/detail?id=846" target="_blank">[2]</a> 的 .NET 项目。</p>
<p>项目自 2012 年开源,2013 年 1 月起正式发布到 GitHub。10 年来,我们一直保持着项目的持续更新,并将完整的源代码以及设计思想毫无保留地分享给大家,希望有更多的人可以从中受益,理解并传播开源的精神,一同助力中国开源事业!感恩一路上给我们提供帮助的朋友们!</p>
<p>项目自 2012 年开源,2013 年 1 月起正式发布到 GitHub。10 余年来,我们一直保持着项目的持续更新,并将完整的源代码以及设计思想毫无保留地分享给大家,希望有更多的人可以从中受益,理解并传播开源的精神,一同助力中国开源事业!感恩一路上给我们提供帮助的朋友们!</p>
<div id="title_about_team" class="target-fix"></div>
<h5>团队</h5>
<p>Senparc.Weixin 由盛派网络及盛派开发者社区核心团队负责维护,同时正在得到大量来自社区成员和社会各界的支持,欢迎加入我们!</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:TenPayV3Controller.cs
文件功能描述:微信支付V3Controller
Expand Down
14 changes: 7 additions & 7 deletions Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.Weixin.Sample.TenPayV3", "Senparc.Weixin.Sample.TenPayV3\Senparc.Weixin.Sample.TenPayV3.csproj", "{0FA694CF-308E-4763-AC3A-5799BFD20068}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Senparc.Weixin.Sample.Shared", "..\Shared\Senparc.Weixin.Sample.Shared\Senparc.Weixin.Sample.Shared.shproj", "{9FE36012-8B32-488E-96AD-BA7CEDAEEAB8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.Weixin.Sample.TenPayV3.net8", "Senparc.Weixin.Sample.TenPayV3\Senparc.Weixin.Sample.TenPayV3.net8.csproj", "{DB3C9B02-60B0-4009-B33E-57F80922416E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0FA694CF-308E-4763-AC3A-5799BFD20068}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FA694CF-308E-4763-AC3A-5799BFD20068}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FA694CF-308E-4763-AC3A-5799BFD20068}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FA694CF-308E-4763-AC3A-5799BFD20068}.Release|Any CPU.Build.0 = Release|Any CPU
{DB3C9B02-60B0-4009-B33E-57F80922416E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB3C9B02-60B0-4009-B33E-57F80922416E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB3C9B02-60B0-4009-B33E-57F80922416E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB3C9B02-60B0-4009-B33E-57F80922416E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -25,7 +25,7 @@ Global
SolutionGuid = {64CCB121-C5D5-4198-9F2C-949829F1828A}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\Shared\Senparc.Weixin.Sample.Shared\Senparc.Weixin.Sample.Shared.projitems*{0fa694cf-308e-4763-ac3a-5799bfd20068}*SharedItemsImports = 5
..\Shared\Senparc.Weixin.Sample.Shared\Senparc.Weixin.Sample.Shared.projitems*{9fe36012-8b32-488e-96ad-ba7cedaeeab8}*SharedItemsImports = 13
..\Shared\Senparc.Weixin.Sample.Shared\Senparc.Weixin.Sample.Shared.projitems*{db3c9b02-60b0-4009-b33e-57f80922416e}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:TenpayApiV3Controller.cs
文件功能描述:微信支付V3 Controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

<!--引用 Nuget 包-->
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.13.0" />
<PackageReference Include="Senparc.Weixin.TenpayV3" Version="1.2.0" />
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.1" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.4" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.13.1" />
<PackageReference Include="Senparc.Weixin.TenpayV3" Version="1.2.1" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
<PackageReference Include="ZXing.Net" Version="0.16.9" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkController.cs
文件功能描述:企业号对接测试(从QYController.cs移植)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkCustomMessageContext.cs
文件功能描述:企业号消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WorkCustomMessageHandler.cs
文件功能描述:自定义WorkMessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:CustomWxOpenMessageHandler.cs
文件功能描述:微信小程序自定义MessageHandler
Expand Down
2 changes: 1 addition & 1 deletion readme.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ Donate:
Apache License Version 2.0

```
Copyright 2023 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Copyright 2024 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ namespace Senparc.Weixin.MP.Sample.CustomerMessageHandler
Apache License Version 2.0

```
Copyright 2023 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Copyright 2024 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WebSocketHelper.cs
文件功能描述:WebSocket处理类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
Copyright (C) 2024 Senparc

文件名:WebSocketMessageHandler.cs
文件功能描述:WebSocketMessageHandler基类
Expand Down
Loading