first commit

This commit is contained in:
yanwenwu
2019-12-22 09:37:52 +08:00
parent cf1dedabd4
commit b27ef2570a
359 changed files with 34726 additions and 758 deletions

View File

@@ -49,7 +49,7 @@ class CompressPackageCommand extends Command
protected function zip($package): void
{
if (!is_dir(CatchAdmin::directory() . $package)) {
$package = $this->output->ask($this->input, sprintf('Can not find [%s] in catchAdmin directory, you should input package again', $package));
$package = $this->output->ask($this->input, sprintf('Can not find [%s] in catch directory, you should input package again', $package));
}
if (!is_dir(CatchAdmin::directory() . $package)) {

View File

@@ -78,7 +78,7 @@ class ModelGeneratorCommand extends Command
{
return <<<EOT
<?php
namespace catchAdmin\{Module}\model;
namespace catch\{Module}\model;
use cather\base\BaseModel;