将 consts 整理到几个文件中

This commit is contained in:
liangtongchuan
2020-12-15 16:02:59 +08:00
parent 3a78f667c3
commit e877b0190d
61 changed files with 402 additions and 69 deletions

View File

@@ -4,7 +4,7 @@ import Role, { RoleModel } from '../db/Role'
import { getLvByExp, getExpByLv } from '../pubUtils/gamedata';
import { redisUserInfoUpdate } from './redisService';
import { switchOnFunc } from './funcSwitchService';
import { FUNC_OPT_TYPE } from '../consts/consts';
import { FUNC_OPT_TYPE } from '../consts';
import { Application, BackendSession } from 'pinus';
export async function roleLevelup(roleId: string, kingExp: number, app: Application, session: BackendSession) {