fix: 无效方法移除

This commit is contained in:
2026-07-27 18:29:42 +08:00
parent 9deb1f3dc1
commit a862ad9815
2 changed files with 1 additions and 9 deletions

View File

@@ -35,13 +35,7 @@ public class SyncController : ControllerBase
{ {
await _gainfoUpdateService.TodoByWerkAsync(request.Code); await _gainfoUpdateService.TodoByWerkAsync(request.Code);
} }
[HttpPost("/api/sync/gainfo/updateToLeave")]
[IgnoreTenant]
public async Task UpdatePersonAsync(CodeRequest request)
{
await _gainfoUpdateService.UpdatePersonAsync(request.Code);
}
[HttpPost("/api/sync/gainfo/user")] [HttpPost("/api/sync/gainfo/user")]
[IgnoreTenant] [IgnoreTenant]

View File

@@ -7,6 +7,4 @@ public interface IGainfoUpdateService : IScopeDependency
Task TodoByWerkAsync(string werk); Task TodoByWerkAsync(string werk);
Task TodoByCodeAsync(string code); Task TodoByCodeAsync(string code);
Task UpdatePersonAsync(string userCode);
} }