Compare commits
2 Commits
ebcdd4195d
...
e3344478f1
Author | SHA1 | Date | |
---|---|---|---|
e3344478f1 | |||
980d7aaa89 |
|
@ -45,7 +45,7 @@ public function boot()
|
||||||
$this->routes(function () {
|
$this->routes(function () {
|
||||||
Route::prefix('api')
|
Route::prefix('api')
|
||||||
->middleware('api')
|
->middleware('api')
|
||||||
->namespace($this->namespace)
|
->namespace($this->namespace.'\\api')
|
||||||
->group(base_path('routes/api.php'));
|
->group(base_path('routes/api.php'));
|
||||||
|
|
||||||
Route::middleware('web')
|
Route::middleware('web')
|
||||||
|
|
|
@ -20,6 +20,14 @@ public function up()
|
||||||
{
|
{
|
||||||
Schema::table('blog_link', function (Blueprint $table) {
|
Schema::table('blog_link', function (Blueprint $table) {
|
||||||
$table->boolean('blogAddType')->default(0)->after('blogLocation');
|
$table->boolean('blogAddType')->default(0)->after('blogLocation');
|
||||||
|
$table->unsignedInteger('blogUserLocation')
|
||||||
|
->default(0)
|
||||||
|
->after('blogSetColor')
|
||||||
|
->comment('用户期望位置');
|
||||||
|
$table->unsignedBigInteger('blogForUser')
|
||||||
|
->nullable()
|
||||||
|
->after('blogUserLocation')
|
||||||
|
->comment('绑定已注册用户');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user