fix 超时设置
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Dlhis.Basic.Organization.Request;
|
||||
using Dlhis.Basic.Organization.Services;
|
||||
using Dlhis.Jip.Api.Responses;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -23,12 +24,14 @@ public class SyncController : ControllerBase
|
||||
}
|
||||
|
||||
[HttpPost("/api/sync/gainfo/werk")]
|
||||
[IgnoreTenant]
|
||||
public async Task TodoByWerkAsync(CodeRequest request)
|
||||
{
|
||||
await _gainfoUpdateService.TodoByWerkAsync(request.Code);
|
||||
}
|
||||
|
||||
[HttpPost("/api/sync/gainfo/user")]
|
||||
[IgnoreTenant]
|
||||
public async Task TodoByCodeAsync(CodeRequest request)
|
||||
{
|
||||
await _gainfoUpdateService.TodoByCodeAsync(request.Code);
|
||||
@@ -46,8 +49,9 @@ public class SyncController : ControllerBase
|
||||
{
|
||||
return await _jinkoSapService.GetPositionsAsync();
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("/api/sync/businessTrips")]
|
||||
[IgnoreTenant]
|
||||
public async Task GetPositionsAsync(CodeRequest request)
|
||||
{
|
||||
await _sapBusinessTripService.HandlerBusinessTripsByFactoryAsync(request.Code);
|
||||
|
||||
Reference in New Issue
Block a user