feat: 근태관리/직원관리 API 구현
- AttendanceController, AttendanceService 추가 - EmployeeController, EmployeeService 추가 - Attendance 모델 및 마이그레이션 추가 - TenantUserProfile에 employee_status 컬럼 추가 - DepartmentService 트리 조회 기능 개선 - Swagger 문서 추가 (AttendanceApi, EmployeeApi) - API 라우트 등록
This commit is contained in:
@@ -30,8 +30,10 @@ public function show($userNo)
|
||||
|
||||
public function me(Request $request)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($request) {
|
||||
return $this->service->getMyInfo($request);
|
||||
return ApiResponse::handle(function () {
|
||||
$userId = (int) app('api_user');
|
||||
|
||||
return MemberService::getUserInfoForLogin($userId);
|
||||
}, __('message.user.me_fetched'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user