Browse Source
Change endpoint from check to exist
pull/17642/head
Enis Necipoglu
3 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
3 changed files with
2 additions and
3 deletions
-
modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/ClientProxies/cms-kit-generate-proxy.json
-
modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/generate-proxy.ps1
-
modules/cms-kit/src/Volo.CmsKit.Public.HttpApi/Volo/CmsKit/Public/Pages/PagesPublicController.cs
|
|
|
@ -914,7 +914,7 @@ |
|
|
|
"uniqueName": "DoesSlugExistAsyncBySlug", |
|
|
|
"name": "DoesSlugExistAsync", |
|
|
|
"httpMethod": "GET", |
|
|
|
"url": "api/cms-kit-public/pages/check", |
|
|
|
"url": "api/cms-kit-public/pages/exist", |
|
|
|
"supportedVersions": [], |
|
|
|
"parametersOnMethod": [ |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1 +0,0 @@ |
|
|
|
abp generate-proxy -t csharp -url https://localhost:44349 -m cms-kit --without-contracts |
|
|
|
@ -39,7 +39,7 @@ public class PagesPublicController : CmsKitPublicControllerBase, IPagePublicAppS |
|
|
|
} |
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
[Route("check")] |
|
|
|
[Route("exist")] |
|
|
|
public virtual Task<bool> DoesSlugExistAsync([NotNull][FromQuery] string slug) |
|
|
|
{ |
|
|
|
return PageAppService.DoesSlugExistAsync(slug); |
|
|
|
|