摘要:
0 设置 config/auth.php 'api' => [ 'driver' => 'token', 'provider' => 'users', 'hash' => true, ], 1 添加users表字段api_token php artisn make:migration add_api 阅读全文
摘要:
1 创建组件 \resources\js\components\QuestionFollowButton.vue <template> <button class="btn " v-text="text" v-on:click="follow" v-bind:class="{'btn-success 阅读全文