|
@@ -605,7 +605,7 @@ namespace molilian.core
|
|
|
.AddHeaders("Cookie", _cookies);
|
|
.AddHeaders("Cookie", _cookies);
|
|
|
#if DEBUG
|
|
#if DEBUG
|
|
|
#else
|
|
#else
|
|
|
- client.Proxy = _proxy;
|
|
|
|
|
|
|
+ client.Proxy = _proxy;
|
|
|
#endif
|
|
#endif
|
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
|
var response = client.Request(url);
|
|
var response = client.Request(url);
|
|
@@ -654,6 +654,7 @@ namespace molilian.core
|
|
|
if (report_date == DateTime.Now.Date)
|
|
if (report_date == DateTime.Now.Date)
|
|
|
{
|
|
{
|
|
|
await RiskControlCore.SaveIncomeAmtAsync(TkChannelEnum.tb, $"{_accountId}", result.eff_tk_disp_tfee);
|
|
await RiskControlCore.SaveIncomeAmtAsync(TkChannelEnum.tb, $"{_accountId}", result.eff_tk_disp_tfee);
|
|
|
|
|
+ if (_account.is_hide) return;
|
|
|
await EachSaveReportOverviewAsync(report_date.AddHours(DateTime.Now.Hour), "tk_report_hourtrend", result);
|
|
await EachSaveReportOverviewAsync(report_date.AddHours(DateTime.Now.Hour), "tk_report_hourtrend", result);
|
|
|
await EachSaveReportOverviewAsync(report_date, "tk_report", result);
|
|
await EachSaveReportOverviewAsync(report_date, "tk_report", result);
|
|
|
}
|
|
}
|
|
@@ -806,7 +807,7 @@ namespace molilian.core
|
|
|
.AddHeaders("Cookie", _cookies);
|
|
.AddHeaders("Cookie", _cookies);
|
|
|
#if DEBUG
|
|
#if DEBUG
|
|
|
#else
|
|
#else
|
|
|
- client.Proxy = _proxy;
|
|
|
|
|
|
|
+ client.Proxy = _proxy;
|
|
|
#endif
|
|
#endif
|
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
|
var response = client.Request(url);
|
|
var response = client.Request(url);
|
|
@@ -850,6 +851,8 @@ namespace molilian.core
|
|
|
result.sett_tk_disp_tfee_56 = data.Read<decimal>("sett_tk_disp_tfee_56", 0);
|
|
result.sett_tk_disp_tfee_56 = data.Read<decimal>("sett_tk_disp_tfee_56", 0);
|
|
|
|
|
|
|
|
DateTime report_date = date.Date;
|
|
DateTime report_date = date.Date;
|
|
|
|
|
+ if (_account.is_hide) return;
|
|
|
|
|
+
|
|
|
await EachSaveReportOverviewAsync(report_date, "tk_report", result);
|
|
await EachSaveReportOverviewAsync(report_date, "tk_report", result);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1007,7 +1010,7 @@ namespace molilian.core
|
|
|
.AddHeaders("Cookie", _cookies);
|
|
.AddHeaders("Cookie", _cookies);
|
|
|
#if DEBUG
|
|
#if DEBUG
|
|
|
#else
|
|
#else
|
|
|
- client.Proxy = _proxy;
|
|
|
|
|
|
|
+ client.Proxy = _proxy;
|
|
|
#endif
|
|
#endif
|
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
if (!string.IsNullOrEmpty(_user_agent)) client.UserAgent = _user_agent;
|
|
|
var response = client.Request(url);
|
|
var response = client.Request(url);
|