From c87d61d03b48a6f55c0a0819b9be522f77e3c9a0 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 01 十二月 2025 14:48:40 +0800
Subject: [PATCH] feat:开发
---
ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs b/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs
index 033e7d6..afad571 100644
--- a/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs
+++ b/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs
@@ -1,4 +1,5 @@
锘縰sing MediatR;
+using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -10,13 +11,35 @@
/// <summary>
/// 寰俊灏忕▼搴忚闃呮秷鎭�氱煡
/// </summary>
- [Resource([EnumResourceController.CommonServerWxmpUtils], Method = EnumResourceMethod.Post)]
+ [Resource([EnumResourceController.CommonServerWxmpUtils], AllowAnonymous = true)]
public class WxmpSubscribMessageNotifyCommand : IRequest<bool>
{
+ /// <summary>
+ /// 灏忕▼搴忎唬鐮�
+ /// </summary>
+ public string Code { get; set; }
+ /// <summary>
+ /// 鐢ㄦ埛寮�鏀綢d
+ /// </summary>
+ public string OpenId { get; set; }
public string ToUserName { get; set; }
public string FromUserName { get; set; }
- public DateTime CreateTime { get; set; }
+ /// <summary>
+ /// 鍒涘缓鏃堕棿
+ /// </summary>
+ public int CreateTime { get; set; }
+ /// <summary>
+ /// 娑堟伅绫诲瀷
+ /// </summary>
public string MsgType { get; set; }
+ /// <summary>
+ /// 浜嬩欢
+ /// </summary>
public string Event { get; set; }
+ /// <summary>
+ /// 鍐呭
+ /// </summary>
+ [JsonProperty("debug_str")]
+ public string Content { get; set; }
}
}
--
Gitblit v1.9.1