Skip to content

Commit

Permalink
😊 调整 定时任务 HTTP 作业打印字符串:OK -> COMPLETED
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkSoul committed Jul 7, 2024
1 parent 93cb339 commit a5ee3d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/Furion.Pure/Schedule/Http/HttpJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public async Task ExecuteAsync(JobExecutingContext context, CancellationToken st
// 输出日志
_logger.LogInformation($"Received HTTP response body with a length of <{responseContent.Length}> output as follows - {(int)httpResponseMessage.StatusCode}{Environment.NewLine}{responseContent}");
}
else responseContent = "OK";
else responseContent = "COMPLETED";

// 设置本次执行结果
context.Result = Penetrates.Serialize(new {
Expand Down
2 changes: 1 addition & 1 deletion framework/Furion/Schedule/Http/HttpJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public async Task ExecuteAsync(JobExecutingContext context, CancellationToken st
// 输出日志
_logger.LogInformation($"Received HTTP response body with a length of <{responseContent.Length}> output as follows - {(int)httpResponseMessage.StatusCode}{Environment.NewLine}{responseContent}");
}
else responseContent = "OK";
else responseContent = "COMPLETED";

// 设置本次执行结果
context.Result = Penetrates.Serialize(new {
Expand Down

0 comments on commit a5ee3d0

Please sign in to comment.