|
...
|
...
|
@@ -7,6 +7,8 @@ |
|
|
|
*/
|
|
|
|
namespace App\Console\Commands\Product;
|
|
|
|
|
|
|
|
use App\Helper\Common;
|
|
|
|
use App\Models\Com\NoticeLog;
|
|
|
|
use App\Models\Product\Keyword;
|
|
|
|
use App\Models\Project\AggregateKeyword;
|
|
|
|
use App\Services\ProjectServer;
|
|
...
|
...
|
@@ -56,6 +58,8 @@ class OptimizeSetKeywordSync extends Command |
|
|
|
$item->status = AggregateKeyword::STATUS_FINISH;
|
|
|
|
$item->save();
|
|
|
|
}
|
|
|
|
Common::del_user_cache('product_keyword',$this->user['project_id']);
|
|
|
|
NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD, ['project_id' => $this->user['project_id']]);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|