|
...
|
...
|
@@ -28,6 +28,7 @@ use App\Models\RankData\Speed; |
|
|
|
use App\Models\RankData\Speed as GoogleSpeedModel;
|
|
|
|
use App\Utils\HttpUtils;
|
|
|
|
use GuzzleHttp\Exception\GuzzleException;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
use Illuminate\Support\Str;
|
|
...
|
...
|
@@ -110,6 +111,7 @@ class RankDataLogic extends BaseLogic |
|
|
|
|
|
|
|
//外链引荐域名
|
|
|
|
$recomm_domain = $recomm_domain ? $recomm_domain->toArray() : [];
|
|
|
|
$recomm_domain['data'] = Collection::make($recomm_domain['data'])->sortBy('backlinks_num')->all();
|
|
|
|
$data['external_links_domain_chat'] = [
|
|
|
|
'labels' => array_map(function ($item) {
|
|
|
|
return Str::substrReplace($item, '***', 2, 3);
|
...
|
...
|
|