Compare commits

...

2 Commits

Author SHA1 Message Date
陈伟 bc90dca578 修改手飞任务结束接口 2025-09-05 09:00:40 +08:00
陈伟 18880d436d 测试注释去除 2025-09-03 15:59:45 +08:00
2 changed files with 4 additions and 4 deletions

View File

@ -2535,11 +2535,11 @@ namespace OpenAuth.App.ServiceApp
{
db.Ado.BeginTran();
await db.Updateable(task).IgnoreNullColumns().ExecuteCommandAsync();
var config = ConfigHelper.GetConfigRoot();
/*var config = ConfigHelper.GetConfigRoot();
var url = config["AIModelApi:Url"];
// 结束智能巡检
using var httpClient = new HttpClient();
await httpClient.PostAsync($"{url}/stop_detection", null);
await httpClient.PostAsync($"{url}/stop_detection", null);*/
db.Ado.CommitTran();
}
catch (Exception ex)

View File

@ -306,8 +306,8 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
var result = new ReciveData<string>();
if (Request.Headers.TryGetValue("x-lc-token", out var tokenValue))
{
//var tokenflag = _helper.Verify(tokenValue);
var tokenflag = true;
var tokenflag = _helper.Verify(tokenValue);
//var tokenflag = true;
if (tokenflag)
{
try