后台:设置军团练兵场关卡
This commit is contained in:
@@ -27,6 +27,7 @@ import { DicWar } from '../../../pubUtils/dictionary/DicWar';
|
||||
import { SchoolModel } from '../../../db/School';
|
||||
import { JewelModel } from '../../../db/Jewel';
|
||||
import { RoleCeModel } from '../../../db/RoleCe';
|
||||
import { setTrainLv } from '../../../services/gmService';
|
||||
|
||||
let timer: NodeJS.Timer;
|
||||
export default function (app: Application) {
|
||||
@@ -187,6 +188,11 @@ export class GmRoleHandler {
|
||||
}
|
||||
|
||||
guild = await GuildModel.updateInfo(params.code, updateParams);
|
||||
|
||||
if(params.trainLv) {
|
||||
await setTrainLv(params.code, params.trainLv);
|
||||
}
|
||||
|
||||
return resResult(STATUS.SUCCESS);
|
||||
}
|
||||
async dismissGuild(msg: { code: string }, session: BackendSession) {
|
||||
|
||||
Reference in New Issue
Block a user