Skip to content

Commit ec5dada

Browse files
committed
fixed
1 parent cf41ba3 commit ec5dada

19 files changed

+458
-458
lines changed

README.md

100755100644
File mode changed.

composer.json

100755100644
File mode changed.

src/Document.php

100755100644
File mode changed.

src/DocumentBundle/Command/Base.php

100755100644
File mode changed.

src/DocumentBundle/Command/GenerateDocumentCommand.php

100755100644
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function configure()
5555
;
5656
}
5757

58-
public function execute(InputInterface $input, OutputInterface $output)
58+
public function execute(InputInterface $input, OutputInterface $output):int
5959
{
6060
$this->io->title($this->getName());
6161

@@ -84,11 +84,11 @@ public function execute(InputInterface $input, OutputInterface $output)
8484
$this->generateDataFile();
8585
$this->generateDebugFile();
8686

87-
//>3 生成打包件
88-
if(class_exists(\ZipArchive::class)) {
89-
$zip = Zip::create($this->rootApiDir() . DIRECTORY_SEPARATOR . $this->jsonToArray($this->global)['title'] . 'API文档.zip');
90-
$zip->add($this->rootApiDir());
91-
}
87+
// //>3 生成打包件
88+
// if(class_exists(\ZipArchive::class)) {
89+
// $zip = Zip::create($this->rootApiDir() . DIRECTORY_SEPARATOR . $this->jsonToArray($this->global)['title'] . 'API文档.zip');
90+
// $zip->add($this->rootApiDir());
91+
// }
9292

9393
$this->io->success('生成成功');
9494

src/DocumentBundle/DocumentBundle.php

100755100644
File mode changed.

src/DocumentBundle/Resources/Default/ApiDoc/css/bottom.css

100755100644
File mode changed.

src/DocumentBundle/Resources/Default/ApiDoc/css/index.css

100755100644
File mode changed.

src/DocumentBundle/Resources/Default/ApiDoc/css/info.css

100755100644
File mode changed.

src/DocumentBundle/Resources/Default/ApiDoc/css/jquery.json-viewer.css

100755100644
File mode changed.

0 commit comments

Comments
 (0)