作者 lyh

gx

... ... @@ -62,9 +62,8 @@ class MonthCountLogic extends BaseLogic
* @time :2023/6/30 14:29
*/
public function inquiryCount(&$arr,&$startTime,&$endTime,$domain){
//TODO::上线后注释
// $domain = 'https://demomark.globalso.com/';
$inquiry_list = (new FormGlobalsoApi())->getInquiryList($domain,'',1,100000000);
if(!empty($inquiry_list)){
//总数
$arr['total'] = $inquiry_list['data']['total'] ?? 0;
//数据详情
... ... @@ -84,6 +83,7 @@ class MonthCountLogic extends BaseLogic
arsort($countryArr);
$top20 = array_slice($countryArr, 0, 15, true);
$arr['country'] = $top20;
}
return $arr;
}
... ...