创建或者加入房间时, 传入accountid
This commit is contained in:
parent
e54413cd48
commit
c9557d6f7a
@ -132,7 +132,7 @@ class PuzzleController extends BaseController {
|
||||
@router('post /api/:accountid/puzzle/match')
|
||||
async joinMultipleGame(req, res) {
|
||||
const { shop, accountid, debug_begin_sec, debug_qcount } = req.params
|
||||
let data: any = { shop, maxTime: 3600 }
|
||||
let data: any = { shop, maxTime: 3600, accountid }
|
||||
let beginSecond = (debug_begin_sec ? +debug_begin_sec : 20)
|
||||
beginSecond = (Math.max(2, beginSecond)) * 1000
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user