|
...
|
...
|
@@ -12,6 +12,7 @@ namespace App\Console\Commands\Update; |
|
|
|
use App\Models\Domain\DomainInfo;
|
|
|
|
use App\Models\Product\Keyword;
|
|
|
|
use App\Models\Product\KeywordPage;
|
|
|
|
use App\Models\Product\Product;
|
|
|
|
use App\Services\ProjectServer;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
...
|
...
|
@@ -106,4 +107,19 @@ class UpdateKeyword extends Command |
|
|
|
shell_exec('curl -k "'.$url.'"');
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :更新产品关键词
|
|
|
|
* @name :updatedProductKeyword
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/11/27 14:26
|
|
|
|
*/
|
|
|
|
public function updatedProductKeyword(){
|
|
|
|
$productModel = new Product();
|
|
|
|
$lists = $productModel->list();
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|