mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 18:22:24 +08:00
feat(work): 随官方更新发送普通邮件接口模型
This commit is contained in:
@@ -291,5 +291,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("meeting")]
|
[Newtonsoft.Json.JsonProperty("meeting")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("meeting")]
|
[System.Text.Json.Serialization.JsonPropertyName("meeting")]
|
||||||
public Types.Meeting? Meeting { get; set; }
|
public Types.Meeting? Meeting { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否开启 ID 转译。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("enable_id_trans")]
|
||||||
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("enable_id_trans")]
|
||||||
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
|
||||||
|
public bool? EnableIdTransform { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"to": {
|
"to": {
|
||||||
"emails": ["word@bgjkcsqy.wecom.work", "jyan1@tiyantest.wang"],
|
"emails": [ "word@bgjkcsqy.wecom.work", "jyan1@tiyantest.wang" ],
|
||||||
"userids": ["william"]
|
"userids": [ "william" ]
|
||||||
},
|
},
|
||||||
"cc": {
|
"cc": {
|
||||||
"emails": [],
|
"emails": [],
|
||||||
"userids": ["panyy"]
|
"userids": [ "panyy" ]
|
||||||
},
|
},
|
||||||
"bcc": {
|
"bcc": {
|
||||||
"emails": ["zoro@bgjkcsqy.wecom.work"],
|
"emails": [ "zoro@bgjkcsqy.wecom.work" ],
|
||||||
"userids": []
|
"userids": []
|
||||||
},
|
},
|
||||||
"subject": "这是标题",
|
"subject": "这是标题",
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"timezone": 8,
|
"timezone": 8,
|
||||||
"repeat_interval": 1,
|
"repeat_interval": 1,
|
||||||
"repeat_type": 1,
|
"repeat_type": 1,
|
||||||
"repeat_day_of_week": [4, 5],
|
"repeat_day_of_week": [ 4, 5 ],
|
||||||
"repeat_day_of_month": [],
|
"repeat_day_of_month": [],
|
||||||
"repeat_week_of_month": [],
|
"repeat_week_of_month": [],
|
||||||
"repeat_month_of_year": [],
|
"repeat_month_of_year": [],
|
||||||
@@ -52,10 +52,11 @@
|
|||||||
"water_mark_type": 0
|
"water_mark_type": 0
|
||||||
},
|
},
|
||||||
"hosts": {
|
"hosts": {
|
||||||
"userids": ["zoro"]
|
"userids": [ "zoro" ]
|
||||||
},
|
},
|
||||||
"meeting_admins": {
|
"meeting_admins": {
|
||||||
"userids": ["zoro"]
|
"userids": [ "zoro" ]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable_id_trans": 1
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user