修改一个BUUG

This commit is contained in:
2026-01-19 10:55:42 +08:00
parent 8911e1e48a
commit 4312eaa0f0

View File

@@ -10,7 +10,7 @@ namespace BLW_Log.services
public class ShengJiCaoZuoB : IJob
{
private readonly Logger _logger = LogManager.GetCurrentClassLogger();
public static string BaseUrl = "https://www.boonlive-rcu.com/";
//public static string BaseUrl = "https://www.boonlive-rcu.com/";
private readonly Dictionary<string, IRestClient> _clients;
public ShengJiCaoZuoB(Dictionary<string, IRestClient> clients)
{
@@ -22,7 +22,7 @@ namespace BLW_Log.services
try
{
var options = new RestClientOptions(BaseUrl);
//var options = new RestClientOptions(BaseUrl);
var client = _clients["NoStopShengJi"];
string Url = "api/WebChatUpgrade";
var request = new RestRequest(Url);
@@ -64,12 +64,12 @@ namespace BLW_Log.services
{
_clients = clients;
}
public static string BaseUrl = "https://www.boonlive-rcu.com/";
//public static string BaseUrl = "https://www.boonlive-rcu.com/";
public async Task Execute(IJobExecutionContext context)
{
try
{
var options = new RestClientOptions(BaseUrl);
//var options = new RestClientOptions(BaseUrl);
var client = _clients["NoStopShengJi"];
string Url = "api/WebChatUpgrade";
var request = new RestRequest(Url);