创建游戏房间时, 增加最大存活时间的参数
This commit is contained in:
parent
b3afa40391
commit
639df901da
@ -139,7 +139,7 @@ class PuzzleController extends BaseController {
|
||||
@router('post /api/:accountid/puzzle/match')
|
||||
async joinMultipleGame(req, res) {
|
||||
const { shop, accountid, debug_begin_sec } = req.params
|
||||
let data = { shop }
|
||||
let data: any = { shop, maxTime: 3600 }
|
||||
let beginSecond = (debug_begin_sec ? +debug_begin_sec : 20)
|
||||
beginSecond = (Math.max(2, beginSecond)) * 1000
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user