// +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ] // +---------------------------------------------------------------------- // | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved. // +---------------------------------------------------------------------- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 // +---------------------------------------------------------------------- // | Author: CRMEB Team // +---------------------------------------------------------------------- declare (strict_types=1); namespace app\command; use Swoole\Coroutine\MySQL\Exception; use think\console\Command; use think\console\Input; use think\console\input\Argument; use think\console\input\Option; use think\console\Output; use think\event\RouteLoaded; use think\facade\Cache; use think\facade\Route; use app\common\repositories\system\auth\MenuRepository; // /www/server/php/74/bin/php /server/wwwroot/crmeb/think brand class brand extends Command { protected function configure() { // 指令配置 $this->setName('clearCache') ->addArgument('cacheType',Argument::OPTIONAL, 'php think menu [1] / [2]') ->setDescription('各种积分转换'); } /** * TODO * @param Input $input * @param Output $output * @return int|void|null * @author Qinii * @day 4/24/22 */ protected function execute(Input $input, Output $output) { echo env('brand.brand_integral', '222');die; } }