后台:抽卡记录

This commit is contained in:
luying
2022-09-19 09:51:37 +08:00
parent c830b2c2c3
commit 8e7eaed214
5 changed files with 47 additions and 0 deletions

View File

@@ -13,4 +13,10 @@ export default class LogController extends Controller {
const { pageSize, page, form } = ctx.request.body;
ctx.body = await ctx.service.log.getUserLog(page, pageSize, form);
}
public async getGachaLog() {
const { ctx } = this;
const { pageSize, page, form } = ctx.request.body;
ctx.body = await ctx.service.log.getGachaLog(page, pageSize, form);
}
}