Procházet zdrojové kódy

添加日志

datasub12_previous
H Vs před 1 rokem
rodič
revize
279e2a39d2
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. +5
    -1
      HealthMonitor.Service/Biz/db/TDengineService.cs

+ 5
- 1
HealthMonitor.Service/Biz/db/TDengineService.cs Zobrazit soubor

@@ -389,7 +389,7 @@ namespace HealthMonitor.Service.Biz.db

public async Task<string?> GernalRestSqlResTextAsync(string sql)
{
_logger.LogInformation($"SQL: {nameof(GernalRestSqlResTextAsync)}--{sql}");
_logger.LogInformation($"执行 SQL: {nameof(GernalRestSqlResTextAsync)}--{sql}");
var url = $"http://{_configTDengineService.Host}:{_configTDengineService.RestPort}/rest/sql/{_configTDengineService.DB}";
List<KeyValuePair<string, string>> headers = new()
{
@@ -398,6 +398,8 @@ namespace HealthMonitor.Service.Biz.db
var result = await _httpHelper.HttpToPostAsync(url, sql, headers).ConfigureAwait(false);
return result;
}

/** 取消
/// <summary>
/// 最大值,最小值聚合
/// </summary>
@@ -473,6 +475,8 @@ namespace HealthMonitor.Service.Biz.db
List<dynamic> data = res?.Data!;
return SafeType.SafeInt(data[0][0]);
}

*/
#endregion

/// <summary>


Načítá se…
Zrušit
Uložit