From 75370c7cca01f12a41815414de88f8cec4cb62c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Sun, 19 May 2019 22:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E8=A8=80=E5=9C=B0=E5=9D=80=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E4=B8=BA=E8=87=AA=E5=B7=B1=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/yilia/source-src/js/slider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/yilia/source-src/js/slider.js b/themes/yilia/source-src/js/slider.js index 8db28ad..227fed6 100644 --- a/themes/yilia/source-src/js/slider.js +++ b/themes/yilia/source-src/js/slider.js @@ -201,8 +201,8 @@ const waifuTools = { }, "tools.chart"() { // 一言 - axios.get('https://api.imjad.cn/hitokoto/?cat=&charset=utf-8&length=55&encode=json').then(res => { - this.showMessage(res.data.hitokoto + (res.data.source?`  ——${res.data.source}`:'')) + axios.get('https://www.colorfulsweet.site/hitokoto?length=40&format=json').then(res => { + this.showMessage(res.data.hitokoto + (res.data.from?`  ——${res.data.from}`:'')) }) } }