using Yi.Framework.WeChat.MiniProgram.Abstract; namespace Yi.Framework.WeChat.MiniProgram.HttpModels; public class SubscribeNoticeRequest { /// ///用户openid,可以是小程序的openid,也可以是mp_template_msg.appid对应的公众号的openid /// public string touser { get; set; } /// /// 小程序模板id /// public string template_id { get; set; } /// /// 跳转页面 /// public string page { get; set; } /// /// 小程序模板消息的数据 /// public Dictionary data { get; set; } /// /// 默认为正式版 /// public string miniprogram_state { get; set; } = "formal"; /// /// 默认为中文 /// public string lang { get; set; } = "zh_CN"; } public class SubscribeNoticeInput { /// ///用户openid,可以是小程序的openid,也可以是mp_template_msg.appid对应的公众号的openid /// public string touser { get; set; } /// /// 小程序模板id /// public string template_id { get; set; } /// /// 跳转页面 /// public string page { get; set; } /// /// 公众号模板消息的数据 /// public Dictionary data { get; set; } } public class SubscribeNoticeResponse : IErrorObjct { public int errcode { get; set; } public string errmsg { get; set; } } public class keyValueItem { public keyValueItem(string value) { this.value = value; } public string value { get; set; } }