名称 | 必填 | 类型 | 说明 |
---|---|---|---|
type | 否 | string | 输出的格式 |
{"success":true,"id":18,"ishan":"今天也宇宙无敌百无禁忌万夫莫敌超级喜欢你"}
<script type="text/javascript" src="https://api.vvhan.com/api/love?type=js"> </script><script>ishan()</script>
<?php
header('Content-type:text/json;charset=utf-8;'); $type = $_GET['type']; $result = file_get_contents('https://api.vvhan.com/api/love?type=' . $type); echo $result;
?>