-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
168 additions
and
49 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...t/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Dto/ChangePictureInput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Volo.Abp.Auditing; | ||
using Volo.Abp.Content; | ||
|
||
namespace LINGYUN.Abp.Account; | ||
|
||
public class ChangePictureInput | ||
{ | ||
[DisableAuditing] | ||
public IRemoteStreamContent File { get; set; } | ||
} |
96 changes: 48 additions & 48 deletions
96
...count/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/IAccountAppService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
using System.Threading.Tasks; | ||
using System.Threading.Tasks; | ||
using Volo.Abp; | ||
using Volo.Abp.Application.Dtos; | ||
using Volo.Abp.Application.Services; | ||
|
||
namespace LINGYUN.Abp.Account; | ||
|
||
public interface IAccountAppService : IApplicationService | ||
{ | ||
/// <summary> | ||
/// 通过手机号注册用户账户 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task RegisterAsync(PhoneRegisterDto input); | ||
/// <summary> | ||
/// 通过微信小程序注册用户账户 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task RegisterAsync(WeChatRegisterDto input); | ||
/// <summary> | ||
/// 通过手机号重置用户密码 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task ResetPasswordAsync(PhoneResetPasswordDto input); | ||
/// <summary> | ||
/// 发送手机注册验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneRegisterCodeAsync(SendPhoneRegisterCodeDto input); | ||
/// <summary> | ||
/// 发送手机登录验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneSigninCodeAsync(SendPhoneSigninCodeDto input); | ||
using Volo.Abp.Application.Services; | ||
|
||
namespace LINGYUN.Abp.Account; | ||
|
||
public interface IAccountAppService : IApplicationService | ||
{ | ||
/// <summary> | ||
/// 通过手机号注册用户账户 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task RegisterAsync(PhoneRegisterDto input); | ||
/// <summary> | ||
/// 通过微信小程序注册用户账户 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task RegisterAsync(WeChatRegisterDto input); | ||
/// <summary> | ||
/// 通过手机号重置用户密码 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task ResetPasswordAsync(PhoneResetPasswordDto input); | ||
/// <summary> | ||
/// 发送手机注册验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneRegisterCodeAsync(SendPhoneRegisterCodeDto input); | ||
/// <summary> | ||
/// 发送手机登录验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneSigninCodeAsync(SendPhoneSigninCodeDto input); | ||
/// <summary> | ||
/// 发送邮件登录验证码 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendEmailSigninCodeAsync(SendEmailSigninCodeDto input); | ||
/// <summary> | ||
/// 发送手机重置密码验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneResetPasswordCodeAsync(SendPhoneResetPasswordCodeDto input); | ||
/// <returns></returns> | ||
Task SendEmailSigninCodeAsync(SendEmailSigninCodeDto input); | ||
/// <summary> | ||
/// 发送手机重置密码验证码短信 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task SendPhoneResetPasswordCodeAsync(SendPhoneResetPasswordCodeDto input); | ||
/// <summary> | ||
/// 获取用户二次认证提供者列表 | ||
/// </summary> | ||
/// <param name="input"></param> | ||
/// <returns></returns> | ||
Task<ListResultDto<NameValue>> GetTwoFactorProvidersAsync(GetTwoFactorProvidersInput input); | ||
} | ||
/// <returns></returns> | ||
Task<ListResultDto<NameValue>> GetTwoFactorProvidersAsync(GetTwoFactorProvidersInput input); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...e/modules/account/LINGYUN.Abp.Account.Application/LINGYUN/Abp/Account/AccountContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using Volo.Abp.BlobStoring; | ||
|
||
namespace LINGYUN.Abp.Account; | ||
|
||
[BlobContainerName("users")] | ||
public class AccountContainer | ||
{ | ||
} |
1 change: 1 addition & 0 deletions
1
.../modules/account/LINGYUN.Abp.Account.Application/LINGYUN/Abp/Account/MyClaimAppService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters