public function initApp(): void
    {
        $tmpDir = \Swoft::getAlias('@runtime');
        $names  = [
            'logs',
            'uploadfiles'
        ];

        \output()->writeln('Create runtime directories: ' . \implode(',', $names));

        foreach ($names as $name) {
            DirHelper::make($tmpDir . '/' . $name);
        }

        \output()->writeln('<success>OK</success>');
    }