mod: refilter rcmd tname

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-26 13:42:12 +08:00
parent 6a45f993ae
commit 64f7ba2a1a
3 changed files with 10 additions and 8 deletions

View File

@@ -29,7 +29,9 @@ class RecVideoItemAppModel extends BaseRecVideoItemModel {
//duration = json['cover_right_text'];
title = json['title'];
owner = RcmdOwner.fromJson(json);
rcmdReason = json['bottom_rcmd_reason'] ?? json['top_rcmd_reason'];
rcmdReason = json['rcmd_reason'];
// json['bottom_rcmd_reason'] ??
// json['top_rcmd_reason'];
if (rcmdReason != null && rcmdReason!.contains('')) {
// 有时能在推荐原因里获得点赞数
(stat as RcmdStat).like = Utils.parseNum(rcmdReason!);