From 8d998e0af75770581b41f97036e49ee4d413af4e Mon Sep 17 00:00:00 2001 From: metowolf Date: Sun, 4 Mar 2018 00:04:00 +0800 Subject: [PATCH] =?UTF-8?q?:cake:=20=E4=BF=AE=E5=A4=8D=E7=BD=91=E6=98=93?= =?UTF-8?q?=E4=BA=91=E6=B5=B7=E5=A4=96=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Action.php | 3 +++ shasum.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Action.php b/Action.php index b1b42d3..ab7ceeb 100644 --- a/Action.php +++ b/Action.php @@ -117,6 +117,9 @@ class Meting_Action extends Typecho_Widget implements Widget_Interface_Do if (empty($url)) { $url = 'https://coding.meting.api.i-meto.com/empty.mp3'; + if ($server == 'netease') { + $url = 'https://music.163.com/song/media/outer/url?id='.$id.'.mp3'; + } } $this->response->redirect($url); } else { diff --git a/shasum.txt b/shasum.txt index cade1d1..ee43cc5 100644 --- a/shasum.txt +++ b/shasum.txt @@ -1,4 +1,4 @@ -d24850b859783a802983fd26f10535f333db2810115e5bfc7bee416641132cbe ./Action.php +87a137ef2b47308dc5815e173041b7f3afa02981d3ee1f6cd8fc5d3c1af7c71c ./Action.php aa3c0deef2f5b5524f9e7cbd1809d14d51e0a5eae8f21e183483c84c28b86e46 ./assets/APlayer.min.js 6c1db3ae0b983df3e9395aa133875e64c7cb6321064c982d507fa7d82f7258f3 ./assets/editer.js 05394bccf0b72f8a57bdefc2dc7da1da38d6ebcf39b97185a89c359f9827a556 ./assets/Meting.min.js