后台:添加设置武将星级
This commit is contained in:
@@ -56,12 +56,6 @@ export default class UserController extends Controller {
|
||||
ctx.body = await ctx.service.users.getHeroList(page, pageSize, sortField, sortOrder, form);
|
||||
}
|
||||
|
||||
public async deleteHero() {
|
||||
const { ctx } = this;
|
||||
const { roleId, hid } = ctx.request.body;
|
||||
ctx.body = await ctx.service.users.deleteHero(roleId, parseInt(hid));
|
||||
}
|
||||
|
||||
// public async setHeroLv() {
|
||||
// const { ctx } = this;
|
||||
// const { selectedRowKeys: roleIdAndHids, lv } = ctx.request.body;
|
||||
|
||||
Reference in New Issue
Block a user