| | |
| | | /// 微信小程序订阅消息通知 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.CommonServerWxmpUtils], AllowAnonymous = true)] |
| | | public class WxmpSubscribMessageNotifyCommand : IRequest<bool> |
| | | public class WxmpSubscribMessageNotifyCommand : IRequest<Guid> |
| | | { |
| | | /// <summary> |
| | | /// 小程序代码 |
| | |
| | | /// 用户开放Id |
| | | /// </summary> |
| | | public string OpenId { get; set; } |
| | | /// <summary> |
| | | /// 接收人 |
| | | /// </summary> |
| | | public string ToUserName { get; set; } |
| | | /// <summary> |
| | | /// 发送人 |
| | | /// </summary> |
| | | public string FromUserName { get; set; } |
| | | /// <summary> |
| | | /// 创建时间 |
| | |
| | | /// <summary> |
| | | /// 内容 |
| | | /// </summary> |
| | | [JsonProperty("debug_str")] |
| | | public string Content { get; set; } |
| | | [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; } |
| | | } |
| | | } |