✨ feat(活动): 添加关注豪礼
This commit is contained in:
@@ -251,4 +251,25 @@ export default class GameController extends Controller {
|
||||
ctx.body = await ctx.service.game.getGVGConfig();
|
||||
return
|
||||
}
|
||||
|
||||
public async getLinks() {
|
||||
const { ctx } = this;
|
||||
const { types } = ctx.request.body;
|
||||
ctx.body = await ctx.service.game.getLinks(types);
|
||||
return
|
||||
}
|
||||
|
||||
public async updateWXLink() {
|
||||
const { ctx } = this;
|
||||
const { serverId, link, qrCodeLink } = ctx.request.body;
|
||||
ctx.body = await ctx.service.game.updateWXLink(serverId, link, qrCodeLink);
|
||||
return
|
||||
}
|
||||
|
||||
public async updateOtherLink() {
|
||||
const { ctx } = this;
|
||||
const { wxPublicAccountQrCode, bbsLink, customerLink } = ctx.request.body;
|
||||
ctx.body = await ctx.service.game.updateOtherLink(wxPublicAccountQrCode, bbsLink, customerLink);
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user