作者 zhl

定制项目比例

... ... @@ -736,7 +736,12 @@ class RelayInquiry extends Command
// 所有可用url
$urls = $inquiry_urls = [];
//入口url 首页30%,单页10%,聚合页60%
$type = getRandByRatio([40,20,40]);
if ($re_website == 'https://www.hikelok.com/') {
$type = getRandByRatio([50,49,1]);
} else {
$type = getRandByRatio([40,20,40]);
}
$inlet = $re_website;
$type == 1 && $inlet = $page_url ? Arr::random($page_url) : $re_website;
$type == 2 && $inlet = $keywords_url ? Arr::random($keywords_url) : $re_website;
... ...