mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: handle pm share type
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user