小白兔晒黑了

导航

 
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 32 下一页

2021年4月22日

摘要: 1 原理 1.1 注册 用户注册后,随机生成长字符串作为token,原生的token返回给用户,哈希后的token存到数据库里 1.2 登录 用户使用账号密码登录成功,随机生成字符串作为token,原生的token返回给用户,哈希后的token存到数据库里 1.3 认证 将用户传来的原生的token 阅读全文
posted @ 2021-04-22 01:06 小白兔晒黑了 阅读(519) 评论(0) 推荐(0)
 

2021年4月14日

摘要: Laravel Entrust 权限管理 阅读全文
posted @ 2021-04-14 22:38 小白兔晒黑了 阅读(121) 评论(0) 推荐(0)
 
摘要: 1 默认auth登录快速创建 https://learnku.com/articles/39646 1.1 数据表的建立 .env DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=homestead DB_USERNAME 阅读全文
posted @ 2021-04-14 02:22 小白兔晒黑了 阅读(282) 评论(0) 推荐(0)
 

2021年4月13日

摘要: 1 安装 1.1 选择版本 选择你要的版本。https://packagist.org/packages/dingo/api 不同leravel对应不同的dingo 1.2 安装 composer require dingo/api 1.3 配置 发布配置文件 php artisan vendor: 阅读全文
posted @ 2021-04-13 20:11 小白兔晒黑了 阅读(130) 评论(0) 推荐(0)
 

2021年4月12日

摘要: 问题 composer require dingo/api --with-all-dependencies 时遇到报错 Your requirements could not be resolved to an installable set of package 解决办法 composer upd 阅读全文
posted @ 2021-04-12 18:50 小白兔晒黑了 阅读(159) 评论(0) 推荐(0)
 

2021年4月4日

摘要: 观察者模式主要用于解耦 1 没有观察者模式 class order { public function addOrder() { // 发短信 Message::update(); //发邮件 Email::update(); //记日志 Log::update(); } } $order = ne 阅读全文
posted @ 2021-04-04 21:27 小白兔晒黑了 阅读(163) 评论(0) 推荐(0)
 

2021年4月1日

摘要: https://www.bilibili.com/video/BV1V5411K7a2?from=search&seid=67276946219882260 阅读全文
posted @ 2021-04-01 13:41 小白兔晒黑了 阅读(75) 评论(0) 推荐(0)
 
摘要: 作者:怪物程序员链接:https://www.zhihu.com/question/27453375/answer/284721903来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 快速入门对Laravel是不合适的,因为它是为web工匠打造的工具。 第一,Compo 阅读全文
posted @ 2021-04-01 02:12 小白兔晒黑了 阅读(653) 评论(0) 推荐(0)
 

2021年3月30日

摘要: 1 自己创建一个ServiceProvider的步骤 1.1 创建服务提供者 php artisan make:provider FamilyServiceProvider 执行成功后会出现这个文件 \app\Providers\FamilyServiceProvider.php <?php nam 阅读全文
posted @ 2021-03-30 02:21 小白兔晒黑了 阅读(1165) 评论(0) 推荐(0)
 
摘要: laradock 阅读全文
posted @ 2021-03-30 01:59 小白兔晒黑了 阅读(64) 评论(0) 推荐(0)
 
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 32 下一页