<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace App\Console\Commands; use Module\Vendor\Command\BaseDumpDemoDataCommand; class DumpDemoDataCommand extends BaseDumpDemoDataCommand { public function handle() { $QZaNP = array('inserts' => $this->buildInsert(array('config', array('key', 'value'), function ($mZFc1) { return in_array($mZFc1['key'], array('siteName', 'siteDescription', 'siteKeywords', 'siteLogo', 'siteSlogan', 'siteDomain', 'Cms_HomeInfoTitle', 'Cms_HomeInfoImage', 'Cms_HomeInfoContent', 'Cms_CompanyName', 'Cms_ContactEmail', 'Cms_ContactPhone', 'Cms_ContactAddress')); }), 'nav', 'banner', 'partner'), 'updates' => $this->buildUpdate()); $this->buildDump($QZaNP); } }