Compare commits

...

2 Commits

Author SHA1 Message Date
e3344478f1 Api架构位置 2023-06-19 17:08:42 +08:00
980d7aaa89 数据库结构更新 2023-06-19 17:08:21 +08:00
2 changed files with 9 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public function boot()
$this->routes(function () {
Route::prefix('api')
->middleware('api')
->namespace($this->namespace)
->namespace($this->namespace.'\\api')
->group(base_path('routes/api.php'));
Route::middleware('web')

View File

@ -20,6 +20,14 @@ public function up()
{
Schema::table('blog_link', function (Blueprint $table) {
$table->boolean('blogAddType')->default(0)->after('blogLocation');
$table->unsignedInteger('blogUserLocation')
->default(0)
->after('blogSetColor')
->comment('用户期望位置');
$table->unsignedBigInteger('blogForUser')
->nullable()
->after('blogUserLocation')
->comment('绑定已注册用户');
});
}