using System;
|
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>
|
/// 手机验证码登录
|
/// 版本说明:使用验证码管理去校验和失效对应业务的验证码
|
/// </summary>
|
/// <param name="input"></param>
|
/// <returns></returns>
|
/// <exception cref="UserFriendlyException"></exception>
|
Task<LifePayPhoneMesssageCodeLoginOutput> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input);
|
|
Task<IdentityModelTokenCacheItem> GetTokenForWeb(AccessRequestDto accessRequestDto, string webClientIp);
|
|
Task<Guid> CreateAccount(CreateAccountInput input, bool isSend = false, bool isAdminCreate = false);
|
#endregion
|
}
|
}
|