feat: 处理触发

This commit is contained in:
2026-07-10 14:11:20 +08:00
parent 7d52540ebf
commit e0a2a9ea0d
3 changed files with 27 additions and 6 deletions

View File

@@ -36,6 +36,13 @@ public class SyncController : ControllerBase
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")]
[IgnoreTenant]
public async Task TodoByCodeAsync(CodeRequest request)