/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: * CreateTime: 202403/02 * Description: 暂无 ***********************************************************************/ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using CoreCms.Net.Model.Entities; namespace CoreCms.Net.Model.FromBody { /// /// 小程序提交数据标准接收实体 /// public class FMWxPost { /// /// 用户前端编码 /// [Required(ErrorMessage = "请提交合法数据")] public string code { get; set; } /// /// 来源类型(对标GlobalEnumVars下的UserAccountTypes) /// public int type { get; set; } = 2; } /// /// 微信小程序登录解码数据 /// public class FMWxLoginDecodeEncryptedData { public string encryptedData { get; set; } public string iv { get; set; } public string signature { get; set; } public string sessionAuthId { get; set; } } /// /// 微信小程序登录解码手机号码 /// public class FMWxLoginDecryptPhoneNumber { public string encryptedData { get; set; } public string iv { get; set; } public string sessionAuthId { get; set; } public int invitecode { get; set; } = 0; } /// /// 微信账户创建 /// public class FMWxAccountCreate { /// /// 密码 /// public string password { get; set; } = ""; /// /// 昵称 /// public string nickname { get; set; } = ""; /// /// 头像 /// public string avatar { get; set; } = ""; /// /// 短信验证码 /// public string code { get; set; } /// /// 手机号码 /// public string mobile { get; set; } /// /// 微信小程序授权sessionAuthId /// public string sessionAuthId { get; set; } /// /// 来源 /// public int platform { get; set; } /// /// 推荐码 /// public int invitecode { get; set; } = 0; } /// /// 微信账户创建 /// public class FMWxSync { public string avatarUrl { get; set; } public string city { get; set; } public string country { get; set; } public int gender { get; set; } public string language { get; set; } public string nickName { get; set; } public string province { get; set; } } public class FMWxSendSMS { /// /// 操作类型 /// public string code { get; set; } /// /// 手机号码 /// public string mobile { get; set; } /// /// 方法 /// public string method { get; set; } } public class FMWeChatMsgTemplateEdit { public string title { get; set; } public List list { get; set; } } /// /// 用户发起订阅提交 /// public class SetWeChatAppletsMessageTip { public string templateId { get; set; } public string status { get; set; } } }