-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from Billzjh/NeuChar/QrcodeWorkRegist
通过企业微信的推广二维码注册的企业,会回调注册成功的通知,这里添加对于复杂模型的支持
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/Senparc.NeuChar/Entities/Base/Request/Interfaces/Event/ContactSyncToken.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Senparc.NeuChar.Entities | ||
{ | ||
/// <summary> | ||
/// 企业微信服务商推广码注册成功返回的通讯录迁移的凭证信息。仅当注册推广包开启通讯录迁移接口时返回该参数 | ||
/// </summary> | ||
public class ContactSyncToken | ||
{ | ||
/// <summary> | ||
/// 通讯录api接口调用凭证,有全部通讯录读写权限 | ||
/// </summary> | ||
public string AccessToken { get; set; } | ||
/// <summary> | ||
/// AccessToken的有效时间(秒) | ||
/// </summary> | ||
public int ExpiresIn { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// 企业微信服务商推广码注册成功返回的 授权管理员的信息 | ||
/// </summary> | ||
public class AuthUserInfoModel | ||
{ | ||
/// <summary> | ||
/// 授权管理员的userid | ||
/// </summary> | ||
public string UserId { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters