礼包码:导出excel

This commit is contained in:
luying
2022-09-14 17:41:05 +08:00
parent 2d6f59ff57
commit 5fd7fa73fb
5 changed files with 37 additions and 13 deletions

View File

@@ -142,8 +142,8 @@ export default class UserController extends Controller {
public async getGiftCodeDetailFile() {
const { ctx } = this;
const { id } = ctx.params;
ctx.body = await ctx.service.users.getGiftCodeDetailFile(parseInt(id));
const { id, fileType } = ctx.params;
ctx.body = await ctx.service.users.getGiftCodeDetailFile(parseInt(id), fileType);
return
}
}