tweak: danmaku (#1756)

* fix: danmaku like

* opt: danmaku merge

* remove: showSpecialDanmaku
This commit is contained in:
My-Responsitories
2025-11-28 16:50:37 +08:00
committed by GitHub
parent 0f8da1999a
commit 62bb605ee8
8 changed files with 59 additions and 65 deletions

View File

@@ -85,7 +85,7 @@ abstract final class DanmakuHttp {
if (res.data['code'] == 0) {
return const Success(null);
} else {
return Error(res.data['message']);
return Error(res.data['message'], code: res.data['code']);
}
}