mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正
This commit is contained in:
@@ -58,7 +58,7 @@ abstract class Make extends Command
|
||||
mkdir(strtolower(dirname($pathname)), 0755, true);
|
||||
}
|
||||
|
||||
file_put_contents($pathname, $this->buildClass($name));
|
||||
file_put_contents($pathname, $this->buildClass($classname));
|
||||
|
||||
$output->writeln('<info>' . $this->type . ' created successfully.</info>');
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace {%namespace%};
|
||||
|
||||
use think\Controller;
|
||||
use think\Request;
|
||||
|
||||
class {%className%} extends Controller
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user