mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-18 15:50:50 +08:00
add-trans
This commit is contained in:
@@ -31,6 +31,9 @@ class ExamController extends Controller
|
||||
{
|
||||
$result = $this->repository->getList($request->all());
|
||||
$resource = ExamResource::collection($result);
|
||||
$resource->additional([
|
||||
'page_title' => nexus_trans('exam.admin.list.page_title'),
|
||||
]);
|
||||
return $this->success($resource);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user