fix: coolapk trade tag (#5593)

Co-authored-by: DIYgod <diy.d.god@gmail.com>
This commit is contained in:
Xizeyoupan 2020-09-06 03:47:51 +08:00 committed by GitHub
parent 2018a579d3
commit e4bd753bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ module.exports = async (ctx) => {
if (item.type === 12) {
// 图文内容
return utils.parseTuwen(item, ctx);
} else if (item.type === 0) {
// 动态内容
} else if (item.type === 0 || item.type === 20) {
// 0:动态内容,20:交易动态
return utils.parseDongtai(item, ctx);
} else {
return null;