Browse Source
Merge pull request #1353 from colinin/wecom
feat(wechat): Optimize wecom
pull/1364/head
yx lin
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
7 additions and
7 deletions
-
aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Work/LINGYUN/Abp/WeChat/Work/Approvals/Models/ApprovalControlValue.cs
-
aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Work/LINGYUN/Abp/WeChat/Work/Approvals/Models/SelectorControlValue.cs
-
aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Work/LINGYUN/Abp/WeChat/Work/Security/Claims/AbpWeChatWorkClaimTypes.cs
|
|
@ -64,7 +64,7 @@ public class ApprovalControlValue |
|
|
[CanBeNull] |
|
|
[CanBeNull] |
|
|
[JsonProperty("selector")] |
|
|
[JsonProperty("selector")] |
|
|
[JsonPropertyName("selector")] |
|
|
[JsonPropertyName("selector")] |
|
|
public SelectorControlValue Selector { get; set; } |
|
|
public SelectorValue Selector { get; set; } |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 关联审批单
|
|
|
/// 关联审批单
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
@ -88,8 +88,8 @@ public class SelectorValueOption |
|
|
/// 选项值,若配置了多语言则会包含中英文的选项值
|
|
|
/// 选项值,若配置了多语言则会包含中英文的选项值
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[NotNull] |
|
|
[NotNull] |
|
|
[JsonProperty("key")] |
|
|
[JsonProperty("value")] |
|
|
[JsonPropertyName("key")] |
|
|
[JsonPropertyName("value")] |
|
|
public List<SelectorValueOptionValue> Value { get; set; } |
|
|
public List<SelectorValueOptionValue> Value { get; set; } |
|
|
public SelectorValueOption() |
|
|
public SelectorValueOption() |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -4,17 +4,17 @@ public static class AbpWeChatWorkClaimTypes |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 唯一标识
|
|
|
/// 唯一标识
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static string UserId { get; set; } = "userid"; |
|
|
public static string UserId { get; set; } = "wecom_userid"; |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 二维码名片
|
|
|
/// 二维码名片
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static string QrCode { get; set; } = "qr_code"; |
|
|
public static string QrCode { get; set; } = "wecom_qr_code"; |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 企业邮箱
|
|
|
/// 企业邮箱
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static string BizMail { get; set; } = "biz_mail"; |
|
|
public static string BizMail { get; set; } = "wecom_biz_mail"; |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 地址
|
|
|
/// 地址
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static string Address { get; set; } = "address"; |
|
|
public static string Address { get; set; } = "wecom_address"; |
|
|
} |
|
|
} |
|
|
|