用户相关api、jwt接入
This commit is contained in:
@@ -13,3 +13,9 @@ Route::get('/', function () {
|
||||
UtilsService::class::getInstance()->autoRouteRegister([
|
||||
'' => \App\Http\Controllers\LoginController::class, // 登录控制器
|
||||
]);
|
||||
|
||||
Route::group([], function () {
|
||||
UtilsService::class::getInstance()->autoRouteRegister([
|
||||
'user' => \App\Http\Controllers\UserController::class, // 用户控制器
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
|
||||
$framework = \App\Models\ProjectModel::with([
|
||||
'frameworks',
|
||||
'labels',
|
||||
'technologyStacks',
|
||||
])->get();
|
||||
ds($framework);
|
||||
//
|
||||
// $framework = \App\Models\ProjectModel::with([
|
||||
// 'frameworks',
|
||||
// 'labels',
|
||||
// 'technologyStacks',
|
||||
// ])->get();
|
||||
// ds($framework);
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user