一言地址更换为自己的
This commit is contained in:
parent
ea0d83d9fa
commit
75370c7cca
@ -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}`:''))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user