From 6396dac27ca99e84a2e3c772fb079bceddf67ff8 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 01 十二月 2025 18:17:45 +0800
Subject: [PATCH] feat:开发
---
ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs | 51 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 48 insertions(+), 3 deletions(-)
diff --git a/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs b/ApiTools.Core/Models/WxmpUtils/Commands/WxmpSubscribMessageNotifyCommand.cs
index 033e7d6..d662de4 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,57 @@
/// <summary>
/// 寰俊灏忕▼搴忚闃呮秷鎭�氱煡
/// </summary>
- [Resource([EnumResourceController.CommonServerWxmpUtils], Method = EnumResourceMethod.Post)]
- public class WxmpSubscribMessageNotifyCommand : IRequest<bool>
+ [Resource([EnumResourceController.CommonServerWxmpUtils], AllowAnonymous = true)]
+ public class WxmpSubscribMessageNotifyCommand : IRequest<Guid>
{
+ /// <summary>
+ /// 灏忕▼搴忎唬鐮�
+ /// </summary>
+ public string Code { get; set; }
+ /// <summary>
+ /// 鐢ㄦ埛寮�鏀綢d
+ /// </summary>
+ public string OpenId { get; set; }
+ /// <summary>
+ /// 鎺ユ敹浜�
+ /// </summary>
public string ToUserName { get; set; }
+ /// <summary>
+ /// 鍙戦�佷汉
+ /// </summary>
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("List")]
+ public WxmpSubscribMessageNotifyCommandContent Content { get; set; }
+ }
+
+ public class WxmpSubscribMessageNotifyCommandContent
+ {
+ /// <summary>
+ /// 鍦烘櫙
+ /// </summary>
+ public string PopupScene { get; set; }
+ /// <summary>
+ /// 鐘舵��
+ /// </summary>
+ public string SubscribeStatusString { get; set; }
+ /// <summary>
+ /// 妯℃澘Id
+ /// </summary>
+ public string TemplateId { get; set; }
}
}
--
Gitblit v1.9.1