mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
fix banUid (#386)
This commit is contained in:
committed by
GitHub
parent
5cc9c59c76
commit
c4c5eee2eb
@@ -329,11 +329,13 @@ class AuthorPanel extends StatelessWidget {
|
|||||||
Get.back();
|
Get.back();
|
||||||
autoWrapReportDialog(context, ReportOptions.dynamicReport,
|
autoWrapReportDialog(context, ReportOptions.dynamicReport,
|
||||||
(reasonType, reasonDesc, banUid) async {
|
(reasonType, reasonDesc, banUid) async {
|
||||||
|
if (banUid) {
|
||||||
VideoHttp.relationMod(
|
VideoHttp.relationMod(
|
||||||
mid: item.modules.moduleAuthor.mid,
|
mid: item.modules.moduleAuthor.mid,
|
||||||
act: 5,
|
act: 5,
|
||||||
reSrc: 11,
|
reSrc: 11,
|
||||||
);
|
);
|
||||||
|
}
|
||||||
final res = await Request().post(
|
final res = await Request().post(
|
||||||
'/x/dynamic/feed/dynamic_report/add',
|
'/x/dynamic/feed/dynamic_report/add',
|
||||||
queryParameters: {
|
queryParameters: {
|
||||||
|
|||||||
Reference in New Issue
Block a user