docs: 补全租户与字典模块注释
This commit is contained in:
@@ -5,6 +5,12 @@ namespace TakeoutSaaS.Application.Identity.Abstractions;
|
||||
/// </summary>
|
||||
public interface IWeChatAuthService
|
||||
{
|
||||
/// <summary>
|
||||
/// 调用微信接口完成 code2Session 交换。
|
||||
/// </summary>
|
||||
/// <param name="code">临时登录凭证 code。</param>
|
||||
/// <param name="cancellationToken">取消标记。</param>
|
||||
/// <returns>会话信息。</returns>
|
||||
Task<WeChatSessionInfo> Code2SessionAsync(string code, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
@@ -13,7 +19,18 @@ public interface IWeChatAuthService
|
||||
/// </summary>
|
||||
public sealed class WeChatSessionInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// OpenId。
|
||||
/// </summary>
|
||||
public string OpenId { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// UnionId。
|
||||
/// </summary>
|
||||
public string? UnionId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 会话密钥。
|
||||
/// </summary>
|
||||
public string SessionKey { get; init; } = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user