Commit e70f9514 authored by hangjun83's avatar hangjun83

seeder

parent 92a62516
......@@ -64,6 +64,17 @@ class ThridApiPlatformSeeder extends Seeder
'platform_status' => '1',
'platform_token' => '',
],
[
'platform_name' => 'chemsite',
'platform_title' => 'ChemSite',
'platform_url' => 'https://admin1.chem-site.com/',
'platform_desc' => '',
'platform_icon' => '',
'platform_params' => '',
'platform_type' => 'self',
'platform_status' => '1',
'platform_token' => '',
],
];
......@@ -117,7 +128,7 @@ class ThridApiPlatformSeeder extends Seeder
]);
break;
}
$platform['platform_type'] = 'third';
//$platform['platform_type'] = 'third';
$platform['platform_status'] = '1';
$platform['platform_token'] = $this->randomFromDevice(16);
$platform['created_at'] = date('Y-m-d H:i:s',time());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment