From 877a696655516acaa1ee19ecbc8d050394c26c2b Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 27 三月 2025 17:31:52 +0800 Subject: [PATCH] fix:新增接口 --- LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs b/LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs index 08a57ee..1059078 100644 --- a/LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs +++ b/LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs @@ -2,14 +2,15 @@ using System.Threading.Tasks; using Volo.Abp; using Volo.Abp.Application.Services; +using Volo.Abp.Identity.Application.Contracts.Account; +using Volo.Abp.IdentityModel; namespace LifePayment.Application.Contracts { public interface IAccountService : IApplicationService { - - #region life pay + Task<WxMiniAppIndentityInfo> GetLifePayWxIndentity(string code); /// <summary> /// 鎵嬫満楠岃瘉鐮佺櫥褰� @@ -18,8 +19,19 @@ /// <param name="input"></param> /// <returns></returns> /// <exception cref="UserFriendlyException"></exception> - Task<Guid> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input); + Task<LifePayPhoneMesssageCodeLoginOutput> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input); + /// <summary> + /// 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛鏄惁涓哄悗鍙扮鐞嗗憳 + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + Task<LifePayPhoneMesssageCodeLoginOutput> LifePayUserMesssageByIduser(Guid id); + + + Task<IdentityModelTokenCacheItem> GetTokenForWeb(AccessRequestDto accessRequestDto, string webClientIp); + + Task<Guid> CreateAccount(CreateAccountInput input, bool isSend = false, bool isAdminCreate = false); #endregion } } \ No newline at end of file -- Gitblit v1.9.1