From 01024a8088437d7519b9d0dec6b0bfffc062a91e Mon Sep 17 00:00:00 2001 From: 362270511 <362270511@qq.com> Date: Mon, 15 Jul 2024 10:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Admin.NET/Admin.NET.Core/S?= =?UTF-8?q?ervice/Wechat/Dto/WxOpenInput.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加验证签名dto --- .../Service/Wechat/Dto/WxOpenInput.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Admin.NET/Admin.NET.Core/Service/Wechat/Dto/WxOpenInput.cs b/Admin.NET/Admin.NET.Core/Service/Wechat/Dto/WxOpenInput.cs index 0ec4cede..dca1cef4 100644 --- a/Admin.NET/Admin.NET.Core/Service/Wechat/Dto/WxOpenInput.cs +++ b/Admin.NET/Admin.NET.Core/Service/Wechat/Dto/WxOpenInput.cs @@ -115,4 +115,28 @@ public class AddSubscribeMessageTemplateInput /// [Required(ErrorMessage = "服务场景描述不能为空")] public string SceneDescription { get; set; } +} + +/// +/// 验证签名 +/// +public class VerifySignatureInput +{ + + /// + /// 签名 + /// + public string signature { get; set; } + /// + /// 时间戳 + /// + public string timestamp { get; set; } + /// + /// 随机数 + /// + public string nonce { get; set; } + /// + /// 随机字符串 + /// + public string echostr { get; set; } } \ No newline at end of file