Skip to content

Commit

Permalink
Merge pull request #2248 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
JeffreySu authored Sep 22, 2020
2 parents 0b9b8ae + 55a86dc commit ddd4b56
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 10 deletions.
5 changes: 2 additions & 3 deletions readme.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ For more than seven years, we have been keeping the project constantly updated,
If you like and hope us to continue to optimize this project, please give us a Star:)

## Notice

> :trophy:[2019-2020 Outstanding Contributors of Senparc Developer Community Shortlist](https://github.com/JeffreySu/WeiXinMPSDK/issues/2197)》 has been published. Please check and register the information before 30/6/2020 10:24 AM :smile:
> 🍦 [file.api.weixin.qq.com Domain name officially disabled(2020.0.15)](https://developers.weixin.qq.com/community/develop/doc/0002245dcdc8c06f36fa6a47d56400), please update to the latest version!<br />
> :trophy:[2019-2020 Outstanding Contributors of Senparc Developer Community Shortlist](https://github.com/JeffreySu/WeiXinMPSDK/issues/2197)》 has been published. Please check and register the information before 30/6/2020 10:24 AM :smile: <br />
> 🥇 .NET Core 3.1 [Senparc.Weixin SDK source code](/src) and [Demo](/Samples/netcore3.0-mvc) has been released!
<img src="https://sdk.weixin.senparc.com/images/SenparcRobotsnapshoot.jpg" width="350" align="right">
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Senparc.Weixin SDK 是目前使用率最高的微信 .NET SDK,也是国内最
如果你喜欢并希望我们继续优化这个项目,请给我们一个 ★Star :)

## 公告
> :trophy:[2019-2020年盛派开发者社区优秀贡献者入围名单](https://github.com/JeffreySu/WeiXinMPSDK/issues/2197)》公布,请注意查看并登记信息,2020 年 6 月 30 日 10:24 AM 截止登记 :smile:
> 🍦 [file.api.weixin.qq.com 域名官方已停用(2020.0.15)](https://developers.weixin.qq.com/community/develop/doc/0002245dcdc8c06f36fa6a47d56400),请及时更新到最新版本!
> :trophy:[2019-2020年盛派开发者社区优秀贡献者入围名单](https://github.com/JeffreySu/WeiXinMPSDK/issues/2197)》公布,请注意查看并登记信息,2020 年 6 月 30 日 10:24 AM 截止登记 :smile:<br />
> 🥇 .NET Core 3.1 [Senparc.Weixin SDK 源码](/src)[Demo](/Samples/netcore3.0-mvc) 已发布!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
创建标识:Senparc - 20180728
修改标识:WangDrama - 20200922
修改描述:v3.7.603 企业微信通讯录模块, 更新(成员)实体新增别名,删除isleader ,新增is_leader_in_dept
----------------------------------------------------------------*/

using System.Collections.Generic;
Expand Down Expand Up @@ -56,10 +59,14 @@ public abstract class MemberBase
/// 邮箱。长度不超过64个字节,且为有效的email格式。企业内必须唯一,mobile/email二者不能同时为空
/// </summary>
public string email { get; set; }
///// <summary>
///// 上级字段,标识是否为上级。在审批等应用里可以用来标识上级审批人
///// </summary>
//public int isleader { get; set; }
/// <summary>
/// 上级字段,标识是否为上级。在审批等应用里可以用来标识上级审批人
/// 上级字段,个数必须和department一致,表示在所在的部门内是否为上级。
/// </summary>
public int isleader { get; set; }
public int[] is_leader_in_dept { get; set; }
/// <summary>
/// 启用/禁用成员。1表示启用成员,0表示禁用成员
/// </summary>
Expand All @@ -79,6 +86,10 @@ public abstract class MemberBase
/// </summary>
public Extattr extattr { get; set; }

/// <summary>
/// 地址。长度最大128个字符
/// </summary>
public string address { get; set; }
/*
/// <summary>
/// 是否邀请该成员使用企业微信(将通过微信服务通知或短信或邮件下发邀请,每天自动下发一次,最多持续3个工作日),默认值为true。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
修改描述:v3.7.502 GetMemberResult 补充二维码属性
修改标识:Senparc - 2020825
修改描述:3.7.510.1 GetMemberResult 补充 open_userid、main_department(主部门)属性
修改描述:v3.7.510.1 GetMemberResult 补充 open_userid、main_department(主部门)属性
修改标识:WangDrama - 2020922
修改描述:v3.7.603 修改注释
----------------------------------------------------------------*/

Expand Down Expand Up @@ -82,7 +85,7 @@ public class GetMemberResult : WorkJsonResult
/// </summary>
public string avatar { get; set; }
/// <summary>
/// 激活状态: 1=已激活,2=已禁用,4=未激活 已激活代表已激活企业微信或已关注微信插件。未激活代表既未激活企业微信又未关注微信插件。
/// 激活状态: 1=已激活,2=已禁用,4=未激活,5=退出企业。 已激活代表已激活企业微信或已关注微信插件。未激活代表既未激活企业微信又未关注微信插件。
/// </summary>
public int status { get; set; }
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
修改标识:ringls - 20180912
修改描述:添加 MemberUpdateRequest.new_userid 属性
修改标识:WangDrama - 20180912
修改描述:v3.7.603 添加 alias 属性
----------------------------------------------------------------*/

namespace Senparc.Weixin.Work.AdvancedAPIs.MailList.Member
Expand All @@ -24,5 +27,11 @@ public class MemberUpdateRequest : MemberBase
/// 非必填,特别地,如果userid由系统自动生成,则仅允许修改一次。新值可由new_userid字段指定。
/// </summary>
public string new_userid { get; set; }


/// <summary>
/// 成员别名。长度1~32个utf8(非必须) ### https://work.weixin.qq.com/api/doc#90000/90135/90195
/// </summary>
public string alias { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">$(Net35FrameworkPathOverride)</FrameworkPathOverride>
<Version>3.7.601</Version>
<Version>3.7.603</Version>
<AssemblyName>Senparc.Weixin.Work</AssemblyName>
<RootNamespace>Senparc.Weixin.Work</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -151,6 +151,9 @@
v3.7.502.1 “更新任务卡片”接口更新返回类型
v3.7.510.1 GetMemberResult 补充 open_userid、main_department(主部门)属性
v3.7.601 修改“删除标签成员”接口返回参数
v3.7.603
1、企业微信通讯录模块下 成员 实体 更新实体新增别名、MemberBase移除isleader
2、新增is_leader_in_dept
</PackageReleaseNotes>
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl>
<SignAssembly>False</SignAssembly>
Expand Down

0 comments on commit ddd4b56

Please sign in to comment.