会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白兔晒黑了
导航
博客园
首页
新随笔
联系
订阅
管理
公告
上一页
1
···
9
10
11
12
13
14
15
16
17
···
32
下一页
2021年8月5日
Laravel 5.8 做个知乎 18 —— 点赞
摘要: 1 创建表 php artisan make:model Vote -m public function up() { Schema::create('votes', function (Blueprint $table) { $table->bigIncrements('id'); $table-
阅读全文
posted @ 2021-08-05 00:12 小白兔晒黑了
阅读(52)
评论(0)
推荐(0)
2021年8月2日
Laravel 5.8 做个知乎 17 —— 重构邮件系统
摘要: 1 类 1.1 \app\Mailer\Mailer.php 基类 <?php /** * Created by PhpStorm. * User: SUN * Date: 2021/8/2 * Time: 18:23 */ namespace App\Mailer; use Naux\Mail\S
阅读全文
posted @ 2021-08-02 21:04 小白兔晒黑了
阅读(57)
评论(0)
推荐(0)
Laravel 5.8 做个知乎 16 —— 用户关注 发送自定义的邮件通知
摘要: 1 新建频道 1.1 \app\Channels\SendcloudChannel.php <?php /** * Created by PhpStorm. * User: SUN * Date: 2021/8/1 * Time: 3:42 */ namespace App\Channels; us
阅读全文
posted @ 2021-08-02 01:28 小白兔晒黑了
阅读(90)
评论(0)
推荐(0)
2021年7月27日
Laravel 5.8 做个知乎 14 —— 用户关注
摘要: 1 创建表 php artisan make:migration create_followers_table --create=followers public function up() { Schema::create('followers', function (Blueprint $tab
阅读全文
posted @ 2021-07-27 01:52 小白兔晒黑了
阅读(97)
评论(0)
推荐(0)
2021年7月25日
Laravel 5.8 做个知乎 15 —— 站内信通知
摘要: 1 创建通知表 php artisan notifications:table php artisan migrate 2 代码 2.1 \app\Notifications\NewUserFollowNotinfication.php php artisan make:notification N
阅读全文
posted @ 2021-07-25 02:16 小白兔晒黑了
阅读(259)
评论(0)
推荐(0)
2021年7月21日
Laravel 5.8 做个知乎 13 —— Api token用户认证
摘要: 0 设置 config/auth.php 'api' => [ 'driver' => 'token', 'provider' => 'users', 'hash' => true, ], 1 添加users表字段api_token php artisn make:migration add_api
阅读全文
posted @ 2021-07-21 02:23 小白兔晒黑了
阅读(315)
评论(0)
推荐(0)
Laravel 5.8 做个知乎 12 —— 关注按钮 Vue js的组件
摘要: 1 创建组件 \resources\js\components\QuestionFollowButton.vue <template> <button class="btn " v-text="text" v-on:click="follow" v-bind:class="{'btn-success
阅读全文
posted @ 2021-07-21 01:07 小白兔晒黑了
阅读(89)
评论(0)
推荐(0)
2021年7月15日
Laravel 5.8 做个知乎 11 —— 添加关注 toggle方法 的使用
摘要: 1 创建关注表数据 php artisan make:migration create_user_question_table --create=user_question \database\migrations\2021_07_15_002200_create_user_question_tab
阅读全文
posted @ 2021-07-15 21:05 小白兔晒黑了
阅读(67)
评论(0)
推荐(0)
2021年7月7日
Laravel 模板错误 如何快速定位
摘要: Laravel 报错显示的行数指向编译后的文件如何准确定位问题 https://learnku.com/laravel/t/52193
阅读全文
posted @ 2021-07-07 14:39 小白兔晒黑了
阅读(78)
评论(0)
推荐(0)
Laravel 5.8 做个知乎 10 —— 添加回答
摘要: 1 创建回复表 1.1 创建表 php artisan make:model Answer -m \database\migrations\2021_07_07_131436_create_answers_table.php public function up() { Schema::create
阅读全文
posted @ 2021-07-07 14:23 小白兔晒黑了
阅读(60)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
32
下一页