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) {
|
if (res != null) {
|
||||||
response = res;
|
response = res;
|
||||||
oid.value = res['commentId'];
|
oid.value = res['commentId'];
|
||||||
|
if (Accounts.main.isLogin && !MineController.anonymity.value) {
|
||||||
|
VideoHttp.historyReport(aid: oid.value, type: 5);
|
||||||
|
}
|
||||||
queryData();
|
queryData();
|
||||||
if (res['status'] == true) {
|
if (res['status'] == true) {
|
||||||
loaded.value = true;
|
loaded.value = true;
|
||||||
@@ -85,9 +88,6 @@ class HtmlRenderController extends ReplyController {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<LoadingState> customGetData() {
|
Future<LoadingState> customGetData() {
|
||||||
if (Accounts.main.isLogin && !MineController.anonymity.value) {
|
|
||||||
VideoHttp.historyReport(aid: oid.value, type: 5);
|
|
||||||
}
|
|
||||||
return GlobalData().grpcReply
|
return GlobalData().grpcReply
|
||||||
? ReplyHttp.replyListGrpc(
|
? ReplyHttp.replyListGrpc(
|
||||||
type: type,
|
type: type,
|
||||||
|
|||||||
Reference in New Issue
Block a user