mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: article report
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -76,6 +76,9 @@ class HtmlRenderController extends ReplyController {
|
||||
if (res != null) {
|
||||
response = res;
|
||||
oid.value = res['commentId'];
|
||||
if (Accounts.main.isLogin && !MineController.anonymity.value) {
|
||||
VideoHttp.historyReport(aid: oid.value, type: 5);
|
||||
}
|
||||
queryData();
|
||||
if (res['status'] == true) {
|
||||
loaded.value = true;
|
||||
@@ -85,9 +88,6 @@ class HtmlRenderController extends ReplyController {
|
||||
|
||||
@override
|
||||
Future<LoadingState> customGetData() {
|
||||
if (Accounts.main.isLogin && !MineController.anonymity.value) {
|
||||
VideoHttp.historyReport(aid: oid.value, type: 5);
|
||||
}
|
||||
return GlobalData().grpcReply
|
||||
? ReplyHttp.replyListGrpc(
|
||||
type: type,
|
||||
|
||||
Reference in New Issue
Block a user