HJ_Server/src/api_o2s/games/Apideploy.ts
DESKTOP-15R5JU0\legu 97e070ea81 init
2023-11-17 12:02:12 +08:00

14 lines
434 B
TypeScript

import { ApiCall } from "tsrpc";
import { Reqdeploy, Resdeploy } from "../../monopoly/protocols/games/Ptldeploy";
import { initStarupFun } from "../../starup";
export default async function (call: ApiCall<Reqdeploy, Resdeploy>) {
try{
initStarupFun.initStart()
}catch(err){
call.succ({message:err.toString(), code:-1})
}
// 区服初始化
call.succ({ message: "success", code: 0 });
}