<?php
 namespace App\Http\Controllers\Support; use Illuminate\Support\Facades\View; use TechSoft\Laravel\Admin\Support\AdminCheckController; class BaseController extends AdminCheckController { public function __construct() { parent::__construct(); View::share('_memberUser', [ 'id' => 0, ]); } protected function memberUserId() { return 0; } protected function _view($view, $data = []) { return view('theme.default.pc.' . $view, $data); } }