6
0
Fork 0
release
panliang 2022-05-18 11:06:23 +08:00
parent 16b04e024b
commit ab018a431f
1 changed files with 7 additions and 3 deletions

View File

@ -15,6 +15,8 @@ class AppSettingSeeder extends Seeder
*/ */
public function run() public function run()
{ {
Setting::truncate();
Setting::truncate();
foreach ([ foreach ([
'app'=> [ 'app'=> [
'value'=> [ 'value'=> [
@ -100,9 +102,11 @@ class AppSettingSeeder extends Seeder
'remarks' => '个推配置', 'remarks' => '个推配置',
], ],
'custom' => [ 'custom' => [
'key_value' => [ 'value' => [
'wechat_mini_show_vip_banner' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com/ac/is_vip.png', 'key_value' => [
'wechat_mini_become_vip_banner' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com/ac/not_vip.png', 'wechat_mini_show_vip_banner' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com/ac/is_vip.png',
'wechat_mini_become_vip_banner' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com/ac/not_vip.png',
]
] ]
] ]
] as $key => $values) { ] as $key => $values) {