Skip to content

Commit 92c798c

Browse files
committed
前端模型问题
1 parent 84578f0 commit 92c798c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/Http/Controllers/Admin/LoginController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class LoginController extends Controller
3838
public function __construct()
3939
{
4040
$this->middleware('guest:admin', ['except' => 'logout']);
41-
$this->username = config('admin.global.username');
4241
}
4342
/**
4443
* 重写登录视图页面

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Http\Controllers\Auth;
44

5-
use App\User;
5+
use App\Models\User;
66
use Validator;
77
use App\Http\Controllers\Controller;
88
use Illuminate\Foundation\Auth\RegistersUsers;

routes/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}]);
2525

2626

27-
$router->group(['middleware' => ['auth:admin', 'menu', 'authAdmin']], function () {
27+
Route::group(['middleware' => ['auth:admin', 'menu', 'authAdmin']], function () {
2828

2929
//权限管理路由
3030
Route::get('permission/{cid}/create', ['as' => 'admin.permission.create', 'uses' => 'PermissionController@create']);

0 commit comments

Comments
 (0)