<?php
 namespace Module\Doc\Web\Controller; use ModStart\Core\Input\Response; use ModStart\Module\ModuleBaseController; use Module\Member\Support\MemberLoginCheck; class DocHistoryController extends ModuleBaseController implements MemberLoginCheck { private $api; public function __construct() { $this->api = app(\Module\Doc\Api\Controller\DocHistoryController::class); } public function paginate() { return Response::jsonFromGenerate($this->api->paginate()); } public function get() { return Response::jsonFromGenerate($this->api->get()); } }