oss
parent
7131b662d0
commit
ff957e298e
|
|
@ -51,18 +51,18 @@ class OssCopy extends Command
|
|||
public function handle()
|
||||
{
|
||||
$list = [
|
||||
// ['name' => '用户', 'list' => UserInfo::get(), 'attributes' => ['avatar']],
|
||||
// ['name' => '文章', 'list' => Article::get(), 'attributes' => ['cover', 'content']],
|
||||
// ['name' => '广告', 'list' => Ad::get(), 'attributes' => ['image']],
|
||||
// ['name' => '门店', 'list' => Store::get(), 'attributes' => ['image']],
|
||||
['name' => '用户', 'list' => UserInfo::get(), 'attributes' => ['avatar']],
|
||||
['name' => '文章', 'list' => Article::get(), 'attributes' => ['cover', 'content']],
|
||||
['name' => '广告', 'list' => Ad::get(), 'attributes' => ['image']],
|
||||
['name' => '门店', 'list' => Store::get(), 'attributes' => ['image']],
|
||||
['name' => '商品SPU', 'list' => ProductSpu::get(), 'attributes' => ['cover', 'images', 'media', 'description']],
|
||||
// ['name' => '商品SKU', 'list' => ProductSku::get(), 'attributes' => ['cover', 'images', 'media', 'description']],
|
||||
// ['name' => '商品分类', 'list' => ProductCategory::get(), 'attributes' => ['icon']],
|
||||
// ['name' => '商品特点', 'list' => ProductFeature::get(), 'attributes' => ['icon']],
|
||||
// ['name' => '购买须知', 'list' => ProductBuynote::get(), 'attributes' => ['content']],
|
||||
// ['name' => '分享背景', 'list' => ShareBg::get(), 'attributes' => ['image']],
|
||||
// ['name' => '抽奖活动', 'list' => DrawActivity::get(), 'attributes' => ['desc', 'bg_image']],
|
||||
// ['name' => '抽奖奖品', 'list' => DrawPrize::get(), 'attributes' => ['icon']],
|
||||
['name' => '商品SKU', 'list' => ProductSku::get(), 'attributes' => ['cover', 'images', 'media', 'description']],
|
||||
['name' => '商品分类', 'list' => ProductCategory::get(), 'attributes' => ['icon']],
|
||||
['name' => '商品特点', 'list' => ProductFeature::get(), 'attributes' => ['icon']],
|
||||
['name' => '购买须知', 'list' => ProductBuynote::get(), 'attributes' => ['content']],
|
||||
['name' => '分享背景', 'list' => ShareBg::get(), 'attributes' => ['image']],
|
||||
['name' => '抽奖活动', 'list' => DrawActivity::get(), 'attributes' => ['desc', 'bg_image']],
|
||||
['name' => '抽奖奖品', 'list' => DrawPrize::get(), 'attributes' => ['icon']],
|
||||
];
|
||||
|
||||
foreach($list as $item) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue