fix: 无效方法移除
This commit is contained in:
@@ -36,12 +36,6 @@ 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]
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user