| | |
| | | using MediatR; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | /// <summary> |
| | | /// 微信小程序订阅消息通知 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.CommonServerWxmpUtils], Method = EnumResourceMethod.Get)] |
| | | [Resource([EnumResourceController.CommonServerWxmpUtils], AllowAnonymous = true)] |
| | | public class WxmpSubscribMessageNotifyCommand : IRequest<bool> |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// 小程序代码 |
| | | /// </summary> |
| | | public string Code { get; set; } |
| | | /// <summary> |
| | | /// 用户开放Id |
| | | /// </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; } |
| | | } |
| | | } |