Browse Source

酒店资料手机端解密

LEIYI 8 months ago
parent
commit
049f4a84f6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      OASystem/OASystem.Api/Controllers/ResourceController.cs

+ 1 - 0
OASystem/OASystem.Api/Controllers/ResourceController.cs

@@ -844,6 +844,7 @@ namespace OASystem.API.Controllers
             {
                 RefAsync<int> total = 0;//REF和OUT不支持异步,想要真的异步这是最优解
                 var data = await _sqlSugar.SqlQueryable<HotelDataItemView>(sql).ToPageListAsync(dto.PageIndex, dto.PageSize, total); //ToPageAsync
+                foreach (var item in data) EncryptionProcessor.DecryptProperties(item);
 
                 return Ok(JsonView(true, "操作成功", data, total));
             }