modified: model/Bika.js

This commit is contained in:
yeyang
2023-01-31 03:34:19 +08:00
parent f9e3e5211b
commit b034a8c953

View File

@@ -70,7 +70,7 @@ export default new (class {
`喜欢:${likesCount}\n`,
`完结:${finished}\n`,
tags ? `tag${lodash.truncate(tags.join(','))}\n` : '',
segment.image(this.imgproxy ?? `${thumb.fileServer}/static/` + thumb.path)
segment.image((this.imgproxy ?? `${thumb.fileServer}/static/`) + thumb.path)
]
})
]
@@ -94,7 +94,7 @@ export default new (class {
return [
`id: ${_id}, ${title}`,
`${total}张,当前为第${pg}页,共${pages}`,
...docs.map(item => segment.image(this.imgproxy ?? `${item.media.fileServer}/static/` + item.media.path))
...docs.map(item => segment.image((this.imgproxy ?? `${item.media.fileServer}/static/`) + item.media.path))
]
}
@@ -146,7 +146,7 @@ export default new (class {
`评论量:${totalComments}\n`,
`分类:${categories.join('')}\n`,
`tag${tags.join('')}`,
segment.image(this.imgproxy ?? `${thumb.fileServer}/static/` + thumb.path)
segment.image((this.imgproxy ?? `${thumb.fileServer}/static/`) + thumb.path)
]
}
})()