镇念塔:修复派遣任务无奖励显示

This commit is contained in:
luying
2021-08-19 17:16:18 +08:00
parent 76fa1104fc
commit 6adeda82dc
4 changed files with 27 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ import { RScriptRecordModel } from '../db/RScriptRecord';
import { setAp } from './actionPointService';
import { resResult } from '../pubUtils/util';
export async function roleLevelup(roleId: string, kingExp: number, session: BackendSession) {
export async function roleLevelup(roleId: string, kingExp: number = 0, session: BackendSession) {
const serverId = session.get('serverId');
const sid = session.get('sid');
const funcs = session.get('funcs');