后台:添加跑马灯
This commit is contained in:
@@ -73,6 +73,20 @@ export default class GameController extends Controller {
|
||||
return
|
||||
}
|
||||
|
||||
public async getMarqueeList() {
|
||||
const { ctx } = this;
|
||||
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
|
||||
ctx.body = await ctx.service.game.getMarqueeList(page, pageSize, sortField, sortOrder, form);
|
||||
return
|
||||
}
|
||||
|
||||
public async updateMarquee() {
|
||||
const { ctx } = this;
|
||||
const { code, values } = ctx.request.body;
|
||||
ctx.body = await ctx.service.game.updateMarquee(code, values);
|
||||
return
|
||||
}
|
||||
|
||||
public async getDicHero() {
|
||||
const { ctx } = this;
|
||||
ctx.body = await ctx.service.game.getDicHero();
|
||||
|
||||
Reference in New Issue
Block a user