This commit is contained in:
张成
2026-04-01 14:23:57 +08:00
parent 09368d2a95
commit 084c437096
8 changed files with 268 additions and 2 deletions

View File

@@ -123,4 +123,17 @@ module.exports = {
});
ctx.success({ rows, count });
},
"POST /biz_api_call_log/export": async (ctx) => {
const body = ctx.getBody();
const param = body.param || body;
const biz_api_call_log = baseModel.biz_api_call_log;
const where = build_search_where(biz_api_call_log, param.seachOption || {});
const rows = await biz_api_call_log.findAll({
where,
limit: 10000,
order: [["id", "DESC"]],
});
ctx.success({ rows });
},
};