将 consts 整理到几个文件中
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Application, BackendSession, FrontendSession } from "pinus";
|
||||
import { getGamedata } from "../pubUtils/gamedata";
|
||||
import Role, { RoleModel } from "../db/Role";
|
||||
import { FUNC_OPT_TYPE } from "../consts/consts";
|
||||
import { FUNC_OPT_TYPE } from "../consts";
|
||||
|
||||
// 开启功能
|
||||
export async function switchOnFunc(roleId: string, type: number, param: number, app: Application, session: (BackendSession|FrontendSession)) {
|
||||
|
||||
Reference in New Issue
Block a user