赞助模块完善! #13

Merged
XiaoLFeng merged 10 commits from feature into master 2023-07-24 14:37:54 +08:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit 566773e05b - Show all commits

View File

@ -38,6 +38,11 @@ public function up()
DB::table('info')->insert(['value' => 'applicationRule', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'applicationInfo', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'email', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'sponsorPayCodeType', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'sponsorPayAll', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'sponsorInfo', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'afadianUserId', 'created_at' => date('Y-m-d H:i:s')]);
DB::table('info')->insert(['value' => 'afadianToken', 'created_at' => date('Y-m-d H:i:s')]);
});
}

View File

@ -21,7 +21,9 @@ public function up()
Schema::create('sponsor_type', function (Blueprint $table) {
$table->id();
$table->string('name')->comment('赞助类型名称');
$table->text('url')->comment('图片或跳转地址');
$table->boolean('include')->default(true)->comment('是否计入总数');
$table->boolean('link')->default(false)->comment('是否是跳转链接');
$table->timestamps();
});
}