|
...
|
...
|
@@ -179,4 +179,20 @@ class FormGlobalsoApi |
|
|
|
}
|
|
|
|
return $res;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :按月份统计
|
|
|
|
* @name :inquiry
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/8/16 10:16
|
|
|
|
*/
|
|
|
|
public function getMonthInquiry($url,$month){
|
|
|
|
$url = 'https://'.$url.'/';
|
|
|
|
$token = md5($url.date("Y-m-d"));
|
|
|
|
$url = 'https://form.globalso.com/api/external-interface/country_con/15243d63ed5a5738?domain='.$url.'&token='.$token.'&source=1,2,3,4&model=month&sta_date='.$month;
|
|
|
|
$res = http_get($url,['charset=utf-8']);
|
|
|
|
echo date('Y-m-d H:i:s') . '数据:'.json_encode($res) . PHP_EOL;
|
|
|
|
return $res;
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|