Laravel基础课 路由和MVC——控制器
新建一个控制器在App\Http\Controllers\下新建MemberController.php<?phpnamespace App\Http\Controllers;use App\Member;class membercontroller extends Controller{ public function info() { return 'member-info'; }}在路由中调用控制器Route::get('member/in