zhengyiming
2025-03-31 6bd99dec62246ddee3472fd810d1ed626a631840
LifePayment/LifePayment.Application.Contracts/User/IAccountService.cs
@@ -1,15 +1,17 @@
using System;
using System.Collections.Generic;
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 +20,21 @@
        /// <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);
        Task<BackClientUserInfoOutput> GetBackClientUserInfo();
        #endregion
    }
}