Kater Auditing

A Flarum extension. Kater auditing module

Incompatible with Flarum v1.8.2

Latest release v0.9.0

0 downloads

released on Aug 9, 2023

Kater Community Auditing 审核模组

导入模组

修改 js/webpack.config.js

const config = require("flarum-webpack-config"); module.exports = config({ useExtensions: ["ziiven-decoration-store"], });

使用模组

在需要使用该模组的代码中,加入

const { components } = require('@kater-community-auditing') let KaterAuditComponent = components.KaterAuditComponent;

API

api/katerAuditList

举报文章,帖子,看板和用户

方法:

Post

参数:

targetType: 0 主题帖子 1 看板 2 用户 3回帖

targetID: 根据target_type,对应主题,看板,用户或回帖的id

reportReason: 举报的原因选项 0: 垃圾讯息 1: 成人内容 2: 仇恨言论 3: 骚扰或霸凌 4: 暴力或露骨 5: 非法活动或管制物品 6: 侵犯我的权利或隐私权 7: 其他

© 2023 Hyn by Daniël "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.