|
@@ -363,6 +363,7 @@ namespace HealthMonitor.Service.Biz.db |
|
|
|
|
|
|
|
|
public async Task<string?> GernalRestSqlResTextAsync(string sql) |
|
|
public async Task<string?> GernalRestSqlResTextAsync(string sql) |
|
|
{ |
|
|
{ |
|
|
|
|
|
_logger.LogInformation($"SQL: {nameof(GernalRestSqlResTextAsync)}--{sql}"); |
|
|
var url = $"http://{_configTDengineService.Host}:{_configTDengineService.RestPort}/rest/sql/{_configTDengineService.DB}"; |
|
|
var url = $"http://{_configTDengineService.Host}:{_configTDengineService.RestPort}/rest/sql/{_configTDengineService.DB}"; |
|
|
List<KeyValuePair<string, string>> headers = new() |
|
|
List<KeyValuePair<string, string>> headers = new() |
|
|
{ |
|
|
{ |
|
|