generated from liutk/owl-admin-base
19 lines
459 B
PHP
19 lines
459 B
PHP
<?php
|
|
|
|
namespace App\Admin\Controllers\Hr;
|
|
|
|
use App\Admin\Controllers\AdminController;
|
|
use App\Models\EmployeeSignLog;
|
|
use Illuminate\Http\Request;
|
|
|
|
class SignLogController extends AdminController
|
|
{
|
|
public function shareList(Request $request)
|
|
{
|
|
$with = $request->input('with', []);
|
|
$list = EmployeeSignLog::with($with)->filter($request->all())->orderBy('time', 'asc')->get();
|
|
|
|
return $this->response()->success($list);
|
|
}
|
|
}
|