名称 | 必填 | 类型 | 说明 |
---|---|---|---|
type | 否 | string | 是否输出JSON |
图片格式返回
自行调用
<?php
header("Content-Type:text/json;charset=UTF-8"); date_default_timezone_set("PRC"); $xx = $_GET["type"]; $url = "https://api.vvhan.com/api/60s?type=" . $xx; $data = file_get_contents($url); echo $data;
?>