好友迁移由30分钟改为10分钟
This commit is contained in:
@@ -22,7 +22,7 @@ class CheckUnreadMessageCommand extends Command
|
||||
{
|
||||
$this->setName('check:unread-message')
|
||||
->setDescription('检查未读/未回复消息并自动迁移好友')
|
||||
->addOption('minutes', 'm', \think\console\input\Option::VALUE_OPTIONAL, '未读/未回复分钟数,默认30分钟', 30)
|
||||
->addOption('minutes', 'm', \think\console\input\Option::VALUE_OPTIONAL, '未读/未回复分钟数,默认10分钟', 10)
|
||||
->addOption('page-size', 'p', \think\console\input\Option::VALUE_OPTIONAL, '每页处理数量,默认100条', 100);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ class CheckUnreadMessageCommand extends Command
|
||||
{
|
||||
$minutes = intval($input->getOption('minutes'));
|
||||
if ($minutes <= 0) {
|
||||
$minutes = 30;
|
||||
$minutes = 10;
|
||||
}
|
||||
|
||||
$pageSize = intval($input->getOption('page-size'));
|
||||
|
||||
Reference in New Issue
Block a user