修改一个BUUG
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user