上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 41 下一页
摘要: <?php namespace app\Admin\controller; use think\Controller; use think\Loader; use think\Request; class Login extends Controller { //登录 public function 阅读全文
posted @ 2021-08-13 21:51 王越666 阅读(96) 评论(0) 推荐(0)
摘要: //自高自测登录8.10 Route::get('name/login','nameLoginController@login'); Route::post('/name/logins','nameLoginController@namelogin');/logins','nameLoginCont 阅读全文
posted @ 2021-08-12 13:27 王越666 阅读(86) 评论(0) 推荐(0)
摘要: 参考网址: https://learnku.com/articles/6736/laravel-code-captcha php: composer 安装:composer require mews/captcha 2:注册providers (config/app.php) ,在这个数组中的最后追 阅读全文
posted @ 2021-08-11 09:27 王越666 阅读(295) 评论(0) 推荐(0)
摘要: 一、登录功能1、书写登录路由Route::view('login','login');2、书写登录页面 视图层<form action="{{route('loginDo')}}" method="post"> @csrf <input type="text" placeholder="请输入账号" 阅读全文
posted @ 2021-08-07 20:18 王越666 阅读(345) 评论(0) 推荐(0)
摘要: //登录中间件 Route::group(['middleware'=>'checkage'],function (){ Route::get('/mou/list','MouController@list'); }); //登录展示表单页面的路由 Route::get('/mou/logins', 阅读全文
posted @ 2021-08-07 20:09 王越666 阅读(187) 评论(0) 推荐(0)
摘要: 、、、、、、、、、、、、、、、、、、、、、、、登录界面 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-sca 阅读全文
posted @ 2021-08-06 21:36 王越666 阅读(78) 评论(0) 推荐(0)
摘要: 中间件步骤 下载中间件 php artisan make:middleware CheckAge kernel.php 添加创建的中间名称 3创建中间件路由,将列表的路由放入中间件的路由 4、登录时进行session 记录id 5、中间件页面验证session , 如果有记录的session记录的i 阅读全文
posted @ 2021-08-06 10:47 王越666 阅读(145) 评论(0) 推荐(0)
摘要: 专业5 登录+采集+分页+静态化+搜索+预处理登录+伪静态+删除+修改+下拉分页+退出登录 、、、、、登录页面 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content=" 阅读全文
posted @ 2021-08-05 22:02 王越666 阅读(80) 评论(0) 推荐(0)
摘要: public function show(Request $request){ $posts = DB::table('posts') ->join('cate','posts.cate_id','=','cate.c_id') ->get(); $count = count($posts);//获 阅读全文
posted @ 2021-08-05 10:00 王越666 阅读(104) 评论(0) 推荐(0)
摘要: 、、、、、、、、、、、、、、、、、、、、HTML页面<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalabl 阅读全文
posted @ 2021-08-04 21:55 王越666 阅读(86) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 41 下一页