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>
/// 获取全部 /// 获取全部
/// </summary> /// </summary>
/// <returns>实体DTO列表</returns> [HttpPost]
[HttpGet]
public async Task<ListResultDto<CodeSettingDto>> GetAllAsync() public async Task<ListResultDto<CodeSettingDto>> GetAllAsync()
{ {
var entities = await _repository.GetAllAsync(true); 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>
/// 获取全部 /// 获取全部
/// </summary> /// </summary>
/// <returns>实体DTO列表</returns> [HttpPost]
[HttpGet]
public async Task<ListResultDto<CentralizedControlDto>> GetAllAsync() public async Task<ListResultDto<CentralizedControlDto>> GetAllAsync()
{ {
var entities = await _repository.GetAllAsync(true); var entities = await _repository.GetAllAsync(true);

Loading…
Cancel
Save