You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_php/config/console.php

48 lines
2.1 KiB

12 months ago
<?php
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
return [
// 指令定义
'commands' => [
//自动同步路由权限
'menu' => 'app\command\updateAuth',
//将所有商品加入到spu表
'spu' => 'app\command\updateSpu',
//整理路由权限
'menu:format' => 'app\command\FormatMenuPath',
//清除缓存素材
'clear:attachment' => 'app\command\ClearCacheAttachment',
//版本更新
'version:update' => 'app\command\VersionUpdate',
//清除所有 除配置相关之外的数据
'clear:merchant' => 'app\command\ClearMerchantData',
//清除所有已删除的商户的商品相关数据
'clear:redundancy' => 'app\command\ClearRedundancy',
//重制平台管理员的密码
'reset:password' => 'app\command\resetPassword',
//修改图片地址前缀
'reset:imagePath' => 'app\command\resetImagePath',
//清除登录限制
'clear:cache' => 'app\command\clearCache',
//更新热卖榜单
'change:hotTop' => 'app\command\changeHotTop',
12 months ago
//各种积分转换
'brand' => 'app\command\brand',
12 months ago
//社区贡献值结算
'dayValue' => 'app\command\dayValue',
11 months ago
//每日兑换率生成
'dayUserValue' => 'app\command\dayUserValue',
12 months ago
],
];