/** * Purpose: request sends signed admin mini-program requests to the backend audit API. * Usage: require this module from the audit page and call `listLogs` with filter params. */ const request = require('../utils/request') module.exports = { /** * Purpose: listLogs loads read-only security audit log rows for authorized administrators. * Usage: pass account, action, result, time range, page, and size filters, then render the returned page result. */ listLogs(params) { return request({ url: '/security-audit/logs', params }) } }