Browse Source

Merge pull request #632 from colinin/upt-5.3.0

add localizer text
pull/645/head
yx lin 3 years ago
committed by GitHub
parent
commit
00d83d54cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi/LINGYUN/Abp/Account/MyProfileController.cs
  2. 1
      aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/en.json
  3. 1
      aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/zh-Hans.json

4
aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi/LINGYUN/Abp/Account/MyProfileController.cs

@ -34,7 +34,7 @@ namespace LINGYUN.Abp.Account
await MyProfileAppService.ChangeTwoFactorEnabledAsync(input);
}
[HttpPut]
[HttpPost]
[Route("send-phone-number-change-code")]
public virtual async Task SendChangePhoneNumberCodeAsync(SendChangePhoneNumberCodeInput input)
{
@ -48,7 +48,7 @@ namespace LINGYUN.Abp.Account
await MyProfileAppService.ChangePhoneNumberAsync(input);
}
[HttpPut]
[HttpPost]
[Route("send-email-confirm-link")]
public async virtual Task SendEmailConfirmLinkAsync(SendEmailConfirmCodeDto input)
{

1
aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/en.json

@ -58,6 +58,7 @@
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "The user confirms the mobile phone verification code template",
"DisplayName:Abp.Identity.User.SmsRepetInterval": "SMS verification code validity(min)",
"Description:Abp.Identity.User.SmsRepetInterval": "The valid time for the user to send SMS verification code, unit m, default 3min",
"DisplayName:NewPhoneNumber": "New Phone Number",
"DisplayName:SmsVerifyCode": "SMS verification code",
"DisplayName:EmailVerifyCode": "Mail verification code",
"DisplayName:WeChatCode": "Wechat login code",

1
aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/zh-Hans.json

@ -58,6 +58,7 @@
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "用户确认手机号验证码模板",
"DisplayName:Abp.Identity.User.SmsRepetInterval": "短信验证码重复发送间隔时间(min)",
"Description:Abp.Identity.User.SmsRepetInterval": "短信验证码验证码重复发送的最小时间差,单位为分",
"DisplayName:NewPhoneNumber": "新手机号码",
"DisplayName:SmsVerifyCode": "短信验证码",
"DisplayName:EmailVerifyCode": "邮件验证码",
"DisplayName:WeChatCode": "微信登录凭证",

Loading…
Cancel
Save