|
...
|
...
|
@@ -71,7 +71,7 @@ class UpdateKeyword extends Command |
|
|
|
if(empty($text)){
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
$number = count($info['text']);
|
|
|
|
$number = count($text);
|
|
|
|
$randomNumber = rand(0, $number - 1);
|
|
|
|
if($updateObject['type'] == 0){//更新所有关键字
|
|
|
|
$keywordModel->edit(['keyword_content'=>$text[$randomNumber]],['status'=>1]);
|
...
|
...
|
|