{ "code": 1, "msg": "获取成功", "data": { "name": "梨花香(霜雪千年抖音热播dj)", "album": "霜雪千年抖音热播dj)", "artist": "krs", "picid": "109951169448211433", "url": "https:\/\/m801.music.126.net\/20240412093324\/4e14840a0090b02e48f8d832132ee48a\/jdymusic\/obj\/wo3DlMOGwrbDjj7DisKw\/34804952622\/6a86\/1af3\/9182\/b7e3ab8a9ed2853addda06952a4f2d79.mp3", "pic": "https:\/\/p3.music.126.net\/NH_w7mpnxZ2Qgths-w5H4g==\/109951169448211433.jpg?param=150y150", "lrc": "[00:02.64]梨花香\n[00:04.59]缠着衣角掠过熙攘\n[00:09.33]复悄入红帘深帐\n[00:13.56]听枝头黄鹂逗趣儿\n[00:16.05]细风绕指淌\n[00:19.26]坐船舫\n[00:21.33]兰桨拨开雾霭迷茫\n[00:26.10]不觉已一日过半\n[00:30.84]过眼的葱郁风光\n[00:32.64]悉数泛了黄\n[00:39.78]楼阁现\n[00:41.64]尘飞雾散荧光翩跹\n[00:46.05]显露出斑驳石阶\n[00:50.40]入眼是落英纷然\n[00:52.92]芳草入深院\n[00:56.04]凭栏杆\n[00:58.53]小桌上置琼觞两盏\n[01:02.82]阖眼听清风疏叶\n[01:06.78]似曾有欢声笑言\n[01:09.60]萦绕这高轩\n[01:13.26]云动寂静鸣蝉\n[01:15.69]雨坠激漪涟\n[01:17.40]皴擦点染勾勒这世间\n[01:22.14]缘起的一眼\n[01:24.03]定格了三生千年\n[01:29.19]在这老街回眸\n[01:31.80]烟云中追溯我是谁\n[01:34.14]只消暮雨点滴\n[01:36.00]便足以粉饰这是非\n[01:38.37]待这月色涌起\n[01:42.36]谁人轻叩这门扉\n[01:46.77]苔绿青石板街\n[01:48.54]斑驳了流水般岁月\n[01:50.61]小酌三盏两杯\n[01:52.53]理不清缠绕的情结\n[01:55.02]在你淡漠眉间\n[01:59.10]瞥见离人的喜悲霜雪\n[02:04.23]三月梨花雪\n[02:09.39]几载开了又败\n[02:11.88]笔锋走黑白\n[02:13.62]丹青中穿插无奈\n[02:15.72]彼时那弯儿月\n[02:17.82]何时初现于江畔\n[02:20.01]而我又在待何人\n[02:24.96]在这亭台回眸\n[02:25.83]千年后忆起你是谁\n[02:28.20]只消月色隐约\n[02:30.06]便足以勾勒这是非\n[02:32.40]待这回忆涌起\n[02:36.93]恍惚之间已下泪\n[02:41.19]枫红十里长街\n[02:42.87]红帘后谁人蹙着眉\n[02:44.85]遥梦桑竹桃源\n[02:46.74]轮回中曾道别的地点\n[02:50.76]愿今生再相见\n[02:53.16]消融你眉间悲戚霜雪\n" } }
<?php /** * Created by PhpStorm. * User: FZS * Time: 2024/4/12 09:11 */ class freeApi { private $apiUrl; public function __construct() { $this->apiUrl = 'https://jkyapi.top/API/yyjhss.php?id=2140038547&type=wy'; } /** * 获取结果 * @return array */ public function getResult() { return file_get_contents($this->apiUrl); } }
package main import ( "fmt" "io/ioutil" "log" "net/http" ) const ( APIURL = "https://jkyapi.top/API/yyjhss.php?id=2140038547&type=wy" ) func main() { queryUrl := fmt.Sprintf("%s",APIURL) resp, err := http.Get(queryUrl) if err != nil { log.Println(err) return } defer resp.Body.Close() body, err := ioutil.ReadAll(resp.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) }