<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $date = '2023-08-30'; //日期 $area = '北京'; //地区 $url = "https://api.jisuapi.com/radiation/query?appkey={$appkey}&date={$date}&area={$area}"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; var_dump($result);