Browse Source

Updated http client proxy

pull/13635/head
malik masis 4 years ago
parent
commit
66aeb5a61c
  1. 8
      modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/PageAdminClientProxy.Generated.cs
  2. 37
      modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/cms-kit-admin-generate-proxy.json

8
modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/PageAdminClientProxy.Generated.cs

@ -55,4 +55,12 @@ public partial class PageAdminClientProxy : ClientProxyBase<IPageAdminAppService
{ typeof(Guid), id }
});
}
public virtual async Task SetAsHomePageAsync(Guid id)
{
await RequestAsync(nameof(SetAsHomePageAsync), new ClientProxyRequestTypeValue
{
{ typeof(Guid), id }
});
}
}

37
modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/cms-kit-admin-generate-proxy.json

@ -675,6 +675,43 @@
},
"allowAnonymous": false,
"implementFrom": "Volo.Abp.Application.Services.IDeleteAppService<System.Guid>"
},
"SetAsHomePageAsyncById": {
"uniqueName": "SetAsHomePageAsyncById",
"name": "SetAsHomePageAsync",
"httpMethod": "GET",
"url": "api/cms-kit-admin/pages/setashomepage/{id}",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "id",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "id",
"name": "id",
"jsonName": null,
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": [],
"bindingSourceId": "Path",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": false,
"implementFrom": "Volo.CmsKit.Admin.Pages.IPageAdminAppService"
}
}
},

Loading…
Cancel
Save