Browse Source

修改HttpPost

master
mahao 1 year ago
parent
commit
0ecec61dc7
  1. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs
  2. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs

@ -112,8 +112,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables
/// <summary>
/// 获取全部
/// </summary>
/// <returns>实体DTO列表</returns>
[HttpGet]
[HttpPost]
public async Task<ListResultDto<CodeSettingDto>> GetAllAsync()
{
var entities = await _repository.GetAllAsync(true);

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs

@ -67,8 +67,7 @@ namespace Win.Sfs.SettleAccount.Entities.Controls
/// <summary>
/// 获取全部
/// </summary>
/// <returns>实体DTO列表</returns>
[HttpGet]
[HttpPost]
public async Task<ListResultDto<CentralizedControlDto>> GetAllAsync()
{
var entities = await _repository.GetAllAsync(true);

Loading…
Cancel
Save