public function copyAction() { if (config('shop.authorize', true)) { $this->authorize('admin', [['admin', 'editor']]); } $cntl = $this->createClient(); return $this->getHtml($cntl->copy()); }