作者 lyh

gx

... ... @@ -9,6 +9,7 @@
namespace App\Console\Commands\MonthlyCount;
use App\Helper\FormGlobalsoApi;
use App\Models\HomeCount\MonthCount;
use App\Models\Project\Project;
use App\Models\Visit\Visit;
... ... @@ -59,7 +60,9 @@ class UpgradeProjectCount extends Command
// 获取当月结束时间
$end = date('Y-m-t', strtotime($v['month']));
$arr['project_id'] = 439;
$arr['total'] = 70;
$inquiry_list = (new FormGlobalsoApi())->getInquiryList('www.cnzyl.com','',1,100000000);
//总数
$arr['total'] = $inquiry_list['data']['total'] ?? 0;
$arr['month'] = $v['month'];
$arr['country'] = '{"\u5c3c\u65e5\u5229\u4e9a":1,"\u5370\u5ea6\u5c3c\u897f\u4e9a":1,"\u4f0a\u6717":1}';
$arr = $this->pv_ip($arr,$start,$end);
... ...