File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 71
71
*/
72
72
73
73
'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
+ // ],
78
78
'admins ' => [
79
79
'driver ' => 'eloquent ' ,
80
80
'model ' => App \Models \Admin::class,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ composer install
33
33
cp .env.example .env
34
34
php artisan key:generate
35
35
~~~
36
-
36
+
37
37
38
38
## 5.项目配置(数据库和域名配置)
39
39
> .env文件中的APP_URL为后端域名,以http或者https开头
@@ -44,7 +44,7 @@ php artisan key:generate
44
44
## 6、生成项目所需的数据表
45
45
46
46
~~~
47
- ` php artisan migrate`
47
+ php artisan migrate
48
48
~~~
49
49
50
50
## 7、生成用户数据和各种结构数据
@@ -59,7 +59,7 @@ php artisan db:seed
59
59
## 8、使用OAuth认证,生成passport的密钥
60
60
~~~ php
61
61
php artisan passport:keys
62
- php artisan passport:clicent --password
62
+ php artisan passport:client --password
63
63
~~~
64
64
65
65
> 生成的密匙填写到.env文件中的OAuth认证这一块的PASSPORT_CLIENT_ID和PASSPORT_CLIENT_SECRET的参数
You can’t perform that action at this time.
0 commit comments