Browse Source

update proxy files

pull/21348/head
liangshiwei 2 years ago
parent
commit
6fc7a35049
  1. 4
      modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/Volo/CmsKit/Admin/Blogs/BlogAdminClientProxy.Generated.cs
  2. 117
      modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/cms-kit-admin-generate-proxy.json

4
modules/cms-kit/src/Volo.CmsKit.Admin.HttpApi.Client/ClientProxies/Volo/CmsKit/Admin/Blogs/BlogAdminClientProxy.Generated.cs

@ -58,9 +58,9 @@ public partial class BlogAdminClientProxy : ClientProxyBase<IBlogAdminAppService
}); });
} }
public virtual Task<ListResultDto<BlogDto>> GetAllListAsync() public virtual async Task<ListResultDto<BlogDto>> GetAllListAsync()
{ {
return RequestAsync<ListResultDto<BlogDto>>(nameof(GetAllListAsync)); return await RequestAsync<ListResultDto<BlogDto>>(nameof(GetAllListAsync));
} }
public virtual async Task MoveAllBlogPostsAsync(Guid blogId, Guid? assignToBlogId) public virtual async Task MoveAllBlogPostsAsync(Guid blogId, Guid? assignToBlogId)

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

@ -16,6 +16,39 @@
"type": "Volo.CmsKit.Admin.Blogs.IBlogAdminAppService", "type": "Volo.CmsKit.Admin.Blogs.IBlogAdminAppService",
"name": "IBlogAdminAppService", "name": "IBlogAdminAppService",
"methods": [ "methods": [
{
"name": "GetAllListAsync",
"parametersOnMethod": [],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.CmsKit.Admin.Blogs.BlogDto>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.CmsKit.Admin.Blogs.BlogDto>"
}
},
{
"name": "MoveAllBlogPostsAsync",
"parametersOnMethod": [
{
"name": "blogId",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "assignToBlogId",
"typeAsString": "System.Nullable`1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib",
"type": "System.Guid?",
"typeSimple": "string?",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
}
},
{ {
"name": "GetAsync", "name": "GetAsync",
"parametersOnMethod": [ "parametersOnMethod": [
@ -353,6 +386,90 @@
}, },
"allowAnonymous": false, "allowAnonymous": false,
"implementFrom": "Volo.Abp.Application.Services.IDeleteAppService<System.Guid>" "implementFrom": "Volo.Abp.Application.Services.IDeleteAppService<System.Guid>"
},
"GetAllListAsync": {
"uniqueName": "GetAllListAsync",
"name": "GetAllListAsync",
"httpMethod": "GET",
"url": "api/cms-kit-admin/blogs/all",
"supportedVersions": [],
"parametersOnMethod": [],
"parameters": [],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.CmsKit.Admin.Blogs.BlogDto>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.CmsKit.Admin.Blogs.BlogDto>"
},
"allowAnonymous": false,
"implementFrom": "Volo.CmsKit.Admin.Blogs.IBlogAdminAppService"
},
"MoveAllBlogPostsAsyncByBlogIdAndAssignToBlogId": {
"uniqueName": "MoveAllBlogPostsAsyncByBlogIdAndAssignToBlogId",
"name": "MoveAllBlogPostsAsync",
"httpMethod": "PUT",
"url": "api/cms-kit-admin/blogs/{id}/move-all-blog-posts",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "blogId",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "assignToBlogId",
"typeAsString": "System.Nullable`1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib",
"type": "System.Guid?",
"typeSimple": "string?",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "blogId",
"name": "blogId",
"jsonName": null,
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "assignToBlogId",
"name": "assignToBlogId",
"jsonName": null,
"type": "System.Guid?",
"typeSimple": "string?",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Query",
"descriptorName": ""
},
{
"nameOnMethod": "id",
"name": "id",
"jsonName": null,
"type": null,
"typeSimple": null,
"isOptional": false,
"defaultValue": null,
"constraintTypes": [],
"bindingSourceId": "Path",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": false,
"implementFrom": "Volo.CmsKit.Admin.Blogs.IBlogAdminAppService"
} }
} }
}, },

Loading…
Cancel
Save