赞助模块完善! #13
|
@ -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' => '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' => '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' => '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')]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,9 @@ public function up()
|
||||||
Schema::create('sponsor_type', function (Blueprint $table) {
|
Schema::create('sponsor_type', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->string('name')->comment('赞助类型名称');
|
$table->string('name')->comment('赞助类型名称');
|
||||||
|
$table->text('url')->comment('图片或跳转地址');
|
||||||
$table->boolean('include')->default(true)->comment('是否计入总数');
|
$table->boolean('include')->default(true)->comment('是否计入总数');
|
||||||
|
$table->boolean('link')->default(false)->comment('是否是跳转链接');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user