[新增] first commit
This commit is contained in:
20
app/Merchant/Controllers/IndexController.php
Normal file
20
app/Merchant/Controllers/IndexController.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Merchant\Controllers;
|
||||
|
||||
use Auth;
|
||||
|
||||
class IndexController extends Controller
|
||||
{
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('Merchant::index.index');
|
||||
}
|
||||
|
||||
public function dashboard()
|
||||
{
|
||||
$user = Auth::guard('merchant')->user();
|
||||
return view('Merchant::index.dashboard', compact('user'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user