Skip to content

Commit

Permalink
Merge pull request #3112 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
JeffreySu authored Jan 21, 2025
2 parents 02987dd + 71287af commit 9e5c253
Show file tree
Hide file tree
Showing 1,290 changed files with 2,144 additions and 2,144 deletions.
4 changes: 2 additions & 2 deletions Samples with AI/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ AI 能力来自于 [Senparc.AI](https://github.com/Senparc/Senparc.AI),并深
1. [X] 微信公众号 Chat 机器人(文字) - 已于 2024 年 5 月 25 日上线
2. [X] 微信公众号 Chat 机器人(图片) - 已于 2024 年 5 月 25 日上线
3. [X] 微信公众号 Chat 机器人(多模态混合) - 已于 2024 年 5 月 26 日上线
4. [ ] 微信公众号带搜索功能的 Chat 机器人
4. [X] 微信公众号带搜索功能的 Chat 机器人
5. [X] 企业微信集成 Agent(智能体)机器人 - 已在 [NCF](https://github.com/NeuCharFramework/NCF) 中的 [AgentsManager](https://github.com/NeuCharFramework/NcfPackageSources/tree/master/src/Extensions/Senparc.Xncf.AgentsManager) 模块集成
6. [ ] 使用 RAG 构建知识库问答
6. [X] 使用 RAG 构建知识库问答 - 已于 2025 年 1 月 2 日上线,可查看 Senparc.AI 项目

> 更多示例欢迎发 issue 或群内留言!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:ChatStore.cs
文件功能描述:按个人信息隔离的 Chat 缓存
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler_AI.cs
文件功能描述:自定义MessageHandler(AI 方法)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 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) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:LocationService.cs
文件功能描述:地理位置信息处理
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandlerAsync.cs
文件功能描述:自定义MessageHandler(异步方法)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler.cs
文件功能描述:微信公众号自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkCustomMessageContext.cs
文件功能描述:企业号消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkCustomMessageHandler.cs
文件功能描述:自定义WorkMessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomWxOpenMessageHandler.cs
文件功能描述:微信小程序自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ItemGroup>
<PackageReference Include="Senparc.AI.Agents" Version="0.4.0" />
<PackageReference Include="Senparc.AI.Kernel" Version="0.21.0" />
<PackageReference Include="Senparc.NeuChar" Version="2.5.1" />
<PackageReference Include="Senparc.NeuChar" Version="2.5.2" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
<PackageReference Include="System.Diagnostics.FileVersionInfo" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:HomeController.cs
文件功能描述:首页Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 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) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:SimulateToolController.cs
文件功能描述:消息模拟工具
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:MediaController.cs
文件功能描述:根据mediaId获取语音
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:MenuController.cs
文件功能描述:自定义菜单设置工具Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 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) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WeixinAsyncController.cs
文件功能描述:此Controller为异步Controller(Action),使用异步线程处理并发请求。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WeixinController.cs
文件功能描述:用于处理微信回调的信息
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WeixinController_OldPost.cs
文件功能描述:用户发送消息后,微信平台自动Post一个请求到这里,并等待响应XML
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:TenPayApiV3Controller.cs
文件功能描述:微信支付V3 Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:TenPayController.cs
文件功能描述:微信支付Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:TenPayV3Controller.cs
文件功能描述:微信支付V3Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkController.cs
文件功能描述:企业号对接测试(从QYController.cs移植)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ public ActionResult DecryptRunData(string sessionId, string encryptedData, strin
catch (Exception ex)
{
return Json(new { success = false, msg = ex.Message });

}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Senparc.AI.Agents" Version="0.4.0" />
<PackageReference Include="Senparc.AI.Kernel" Version="0.21.0" />
<PackageReference Include="Senparc.CO2NET.WebApi" Version="2.0.2-beta3" />
<PackageReference Include="Senparc.NeuChar.App" Version="1.5.1" />
<PackageReference Include="Senparc.NeuChar.AspNet" Version="1.6.1" />
<PackageReference Include="Senparc.CO2NET.WebApi" Version="2.1.0.1" />
<PackageReference Include="Senparc.NeuChar.App" Version="1.5.2" />
<PackageReference Include="Senparc.NeuChar.AspNet" Version="1.6.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler.cs
文件功能描述:微信公众号自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 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) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WeixinController.cs
文件功能描述:用于处理微信回调的信息
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler.cs
文件功能描述:微信公众号自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageHandler_Events.cs
文件功能描述:自定义MessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:LocationService.cs
文件功能描述:地理位置信息处理
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:TenPayV3Controller.cs
文件功能描述:微信支付V3Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:TenpayApiV3Controller.cs
文件功能描述:微信支付V3 Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkController.cs
文件功能描述:企业号对接测试(从QYController.cs移植)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkCustomMessageContext.cs
文件功能描述:企业号消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WorkCustomMessageHandler.cs
文件功能描述:自定义WorkMessageHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:BaseController.cs
文件功能描述:Controller基类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:CustomMessageContext.cs
文件功能描述:微信消息上下文
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 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 @@ -706,7 +706,7 @@ Donate:
Apache License Version 2.0

```
Copyright 2024 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Copyright 2025 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) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WebSocketHelper.cs
文件功能描述:WebSocket处理类
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------
Copyright (C) 2024 Senparc
Copyright (C) 2025 Senparc
文件名:WebSocketMessageHandler.cs
文件功能描述:WebSocketMessageHandler基类
Expand Down
Loading

0 comments on commit 9e5c253

Please sign in to comment.