添加项目文件。
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
using QYZH.InteractiveMagazine.IService.Dto;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.IService;
|
||||
|
||||
/// <summary>
|
||||
/// 微信小程序服务接口
|
||||
/// </summary>
|
||||
public interface IWeChatMiniProgramService
|
||||
{
|
||||
/// <summary>
|
||||
/// 微信登录
|
||||
/// </summary>
|
||||
/// <param name="code">微信登录凭证</param>
|
||||
/// <returns>微信登录结果</returns>
|
||||
Task<WeChatLoginOutput> WeChatLoginAsync(string code);
|
||||
|
||||
/// <summary>
|
||||
/// 获取手机号
|
||||
/// </summary>
|
||||
/// <param name="code">获取手机号凭证</param>
|
||||
/// <returns>手机号信息</returns>
|
||||
Task<WeChatPhoneNumberOutput> GetPhoneNumberAsync(string code);
|
||||
}
|
||||
Reference in New Issue
Block a user