opt: handle pm share type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-25 16:37:02 +08:00
parent 2063c366c2
commit 9a1b15029e
7 changed files with 168 additions and 69 deletions

View File

@@ -271,9 +271,13 @@ class PageUtils {
);
}
static Future pushDynFromId(id, {bool off = false}) async {
static Future pushDynFromId({id, rid, bool off = false}) async {
SmartDialog.showLoading();
dynamic res = await DynamicsHttp.dynamicDetail(id: id);
dynamic res = await DynamicsHttp.dynamicDetail(
id: id,
rid: rid,
type: rid != null ? 2 : null,
);
SmartDialog.dismiss();
if (res['status']) {
DynamicItemModel data = res['data'];