|
...
|
...
|
@@ -7,21 +7,21 @@ |
|
|
|
* @time :2025/7/1 16:43
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Console\Commands\WhiteHatProject;
|
|
|
|
namespace App\Console\Commands\AuthorityScore;
|
|
|
|
|
|
|
|
use App\Models\AuthorityScore\AuthorityScore;
|
|
|
|
use App\Models\AuthorityScore\AuthorityScore as AuthorityScoreModel;
|
|
|
|
use App\Models\Domain\DomainInfo;
|
|
|
|
use App\Models\Project\Project;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
|
|
|
|
class WhiteHatLinkData extends Command
|
|
|
|
class AuthorityScore extends Command
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The name and signature of the console command.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $signature = 'white_hat_link_data';
|
|
|
|
protected $signature = 'authority_score';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The console command description.
|
|
...
|
...
|
@@ -65,7 +65,7 @@ class WhiteHatLinkData extends Command |
|
|
|
* @time :2025/7/1 17:23
|
|
|
|
*/
|
|
|
|
public function saveHandleData($data,$project_id){
|
|
|
|
$authorityScoreModel = new AuthorityScore();
|
|
|
|
$authorityScoreModel = new AuthorityScoreModel();
|
|
|
|
return $authorityScoreModel->addReturnId([
|
|
|
|
'project_id'=>$project_id,
|
|
|
|
'ascore'=>(int)$data['ascore'],
|
...
|
...
|
|