Skip to content

Commit

Permalink
【Delete:删除功能类库,将公共类库打包成对应的nuget,】
Browse files Browse the repository at this point in the history
【Add:准备介入QQ登录】
  • Loading branch information
KawhiWei committed May 27, 2021
1 parent f742cef commit 68e7f3c
Show file tree
Hide file tree
Showing 351 changed files with 300 additions and 18,758 deletions.
107 changes: 1 addition & 106 deletions Destiny.Core.Flow.sln

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions K8sdeploy/destiny-core-flowadmin-autoscaler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: destiny-core-flowadmin-autoscaler
namespace: destinycore-flow
spec:
maxReplicas: 10 #最大数量
minReplicas: 2 #最小数量
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: destiny-core-flowadmin-pod #需要监控的deployment
targetCPUUtilizationPercentage: 40 #目标CPU占用率达到多少启动扩容
13 changes: 1 addition & 12 deletions src/Destiny.Core.Flow.API/Controllers/DocumentTypeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ namespace Destiny.Core.Flow.API.Controllers
///文档类型
///</summary>
[Description("文档类型")]
[AllowAnonymous]
public class DocumentTypeController : AdminControllerBase
{

private readonly IDocumentTypeService _documentTypeService;

public DocumentTypeController(IDocumentTypeService documentTypeService)
{
_documentTypeService=documentTypeService;
}


/// <summary>
/// 异步创建或更新文档类型
/// </summary>
Expand All @@ -41,10 +39,6 @@ public async Task<AjaxResult> CreateOrUpdateAsync([FromBody] DocumentTypeInputDt

return (await _documentTypeService.CreateOrUpdateAsync(dto)).ToAjaxResult();
}




/// <summary>
/// 异步加载表单文档类型
/// </summary>
Expand All @@ -55,8 +49,6 @@ public async Task<AjaxResult> LoadFormAsync(Guid id)
{
return (await _documentTypeService.LoadFormAsync(id)).ToAjaxResult();
}


/// <summary>
/// 异步删除文档类型
/// </summary>
Expand All @@ -67,7 +59,6 @@ public async Task<AjaxResult> DeleteAsync(Guid id)
{
return (await _documentTypeService.DeleteAsync(id)).ToAjaxResult();
}

/// <summary>
/// 异步得到文档类型分页数据
/// </summary>
Expand All @@ -78,7 +69,6 @@ public async Task<PageList<DocumentTypePageListDto>> GetPageAsync(PageRequest re
{
return (await _documentTypeService.GetPageAsync(request)).ToPageList();
}

/// <summary>
/// 异步得到文档类型树数据
/// </summary>
Expand All @@ -90,6 +80,5 @@ public async Task<TreeModel<DocumentTreeOutDto>> GetDocumentTreeTreeDataAsync()
return (await _documentTypeService.GetTreeDataAsync()).ToTreeModel();

}

}
}
Loading

0 comments on commit 68e7f3c

Please sign in to comment.