礼包码:导出excel
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user