8000 调整后端部署文档 · lpzhi/laravel_template_with_vue@4d4bf7f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d4bf7f

Browse files
committed
调整后端部署文档
1 parent 0999302 commit 4d4bf7f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

api/config/auth.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
*/
7272

7373
'providers' => [
74-
'users' => [
75-
'driver' => 'eloquent',
76-
'model' => App\Models\User::class,
77-
],
74+
// 'users' => [
75+
// 'driver' => 'eloquent',
76+
// 'model' => App\Models\User::class,
77+
// ],
7878
'admins' => [
7979
'driver' => 'eloquent',
8080
'model' => App\Models\Admin::class,

back.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ composer install
3333
cp .env.example .env
3434
php artisan key:generate
3535
~~~
36-
36+
3737

3838
## 5.项目配置(数据库和域名配置)
3939
> .env文件中的APP_URL为后端域名,以http或者https开头
@@ -44,7 +44,7 @@ php artisan key:generate
4444
## 6、生成项目所需的数据表
4545

4646
~~~
47-
`php artisan migrate`
47+
php artisan migrate
4848
~~~
4949

5050
## 7、生成用户数据和各种结构数据
@@ -59,7 +59,7 @@ php artisan db:seed
5959
## 8、使用OAuth认证,生成passport的密钥
6060
~~~php
6161
php artisan passport:keys
62-
php artisan passport:clicent --password
62+
php artisan passport:client --password
6363
~~~
6464

6565
> 生成的密匙填写到.env文件中的OAuth认证这一块的PASSPORT_CLIENT_ID和PASSPORT_CLIENT_SECRET的参数

0 commit comments

Comments
 (0)
0