diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserLookupController.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserLookupController.cs index 8663227c1e..0c29f36ceb 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserLookupController.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserLookupController.cs @@ -9,7 +9,7 @@ namespace Volo.Abp.Identity [RemoteService] [Area("identity")] [ControllerName("UserLookup")] - [Route("api/identity/user-lookups")] + [Route("api/identity/users/lookup")] public class IdentityUserLookupController : AbpController, IIdentityUserLookupAppService { protected IIdentityUserLookupAppService LookupAppService { get; } diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs index 4cea0303f2..de05b9bdea 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.Identity [RemoteService] [Area("identity")] [ControllerName("Profile")] - [Route("/api/identity/profiles")] + [Route("/api/identity/my-profile")] public class ProfileController : AbpController, IProfileAppService { private readonly IProfileAppService _profileAppService; @@ -30,7 +30,7 @@ namespace Volo.Abp.Identity } [HttpPost] - [Route("ChangePassword")] + [Route("change-password")] public Task ChangePasswordAsync(string currentPassword, string newPassword) { return _profileAppService.ChangePasswordAsync(currentPassword, newPassword); diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/TenantController.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/TenantController.cs index 2e036699c8..2aabf871de 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/TenantController.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.HttpApi/Volo/Abp/TenantManagement/TenantController.cs @@ -53,21 +53,21 @@ namespace Volo.Abp.TenantManagement } [HttpGet] - [Route("{id}/DefaultConnectionString")] + [Route("{id}/default-connection-string")] public Task GetDefaultConnectionStringAsync(Guid id) { return _service.GetDefaultConnectionStringAsync(id); } [HttpPut] - [Route("{id}/DefaultConnectionString")] + [Route("{id}/default-connection-string")] public Task UpdateDefaultConnectionStringAsync(Guid id, string defaultConnectionString) { return _service.UpdateDefaultConnectionStringAsync(id, defaultConnectionString); } [HttpDelete] - [Route("{id}/DefaultConnectionString")] + [Route("{id}/default-connection-string")] public Task DeleteDefaultConnectionStringAsync(Guid id) { return _service.DeleteDefaultConnectionStringAsync(id);