一言地址更换为自己的

This commit is contained in:
结发受长生 2019-05-19 22:59:52 +08:00
parent ea0d83d9fa
commit 75370c7cca

View File

@ -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}`:''))
})
}
}