GoogleKeywordInsight.php
699 字节
<?php
/**
* @remark :
* @name :GoogleKeywordInsight.php
* @author :lyh
* @method :post
* @time :2025/3/25 14:33
*/
namespace App\Models\GoogleKeywordInsight;
use App\Models\Base;
class GoogleKeywordInsight extends Base
{
protected $table = 'gl_google_insight';
/**
* @remark :保存洞察总数据
* @name :saveInsight
* @author :lyh
* @method :post
* @time :2025/3/25 14:45
*/
public function saveInsight($project_id,$keyword,$data){
$saveData = [
'search'=>$keyword,
'project_id'=>$project_id,
'data'=>json_encode($data,true),
];
return $this->addReturnId($saveData);
}
}