mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-05 19:41:43 +08:00
modified 初始化自动构建
This commit is contained in:
parent
526d728a4f
commit
5ce8c3feaa
@ -36,7 +36,6 @@ class AutoBuildFile extends Command {
|
||||
$output->comment('Please choose module (1:admin;2:api, default 1):');
|
||||
$input = trim(fgets(fopen('php://stdin', 'r')));
|
||||
$dsn['module'] = strlen($input) ? $input : 1;
|
||||
}
|
||||
|
||||
$output->comment('Do you need to build a menu? 1 or 0 (default 1):');
|
||||
$input = trim(fgets(fopen('php://stdin', 'r')));
|
||||
@ -51,6 +50,7 @@ class AutoBuildFile extends Command {
|
||||
$input = trim(fgets(fopen('php://stdin', 'r')));
|
||||
$dsn['route'] = strlen($input) ? $input : 0;
|
||||
}
|
||||
}
|
||||
|
||||
$output->comment('Do you need to build a model? 1 or 0 (default 0):');
|
||||
$input = trim(fgets(fopen('php://stdin', 'r')));
|
||||
|
Loading…
x
Reference in New Issue
Block a user