Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新加企业微信企业客户标签回调事件 #2948

Merged
merged 9 commits into from
Nov 27, 2023

Conversation

xiaopotian1990
Copy link

@JeffreySu JeffreySu merged commit d12f69c into JeffreySu:Developer Nov 27, 2023
@JeffreySu
Copy link
Owner

@xiaopotian1990 非常感谢!
下述代码中 RequestMessageEvent_Change_External_Tag_Create 等构造函数需要有参数输入,否则编译会出错,麻烦检查一下:

switch (doc.Root.Element("ChangeType").Value.ToUpper())
{
    case "CREATE":
        requestMessage = new RequestMessageEvent_Change_External_Tag_Create();
        break;
    case "UPDATE":
        requestMessage = new RequestMessageEvent_Change_External_Tag_Update();
        break;
    case "DELETE":
        requestMessage = new RequestMessageEvent_Change_External_Tag_Delete();
        break;
    case "SHUFFLE":
        requestMessage = new RequestMessageEvent_Change_External_Tag_Shuffle();
        break;
    default://其他意外类型(也可以选择抛出异常)
        requestMessage = new RequestMessageEventBase();
        break;
}

JeffreySu added a commit that referenced this pull request Nov 28, 2023
  1、Work v3.18.1 新加企业微信企业客户标签回调事件(PR #2948)
  2、修复:ApprovalCreateTemplateRequest.template_names 命名更正为:template_name(Issue #2949)

感谢 @programmer-zheng @xiaopotian1990
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants