增加没有关键参数时的日志
This commit is contained in:
parent
7f9431274e
commit
23da1b425b
@ -49,7 +49,7 @@ class PuzzleController extends BaseController {
|
|||||||
let { shop, level, accountid, type } = req.params
|
let { shop, level, accountid, type } = req.params
|
||||||
level = +level || 1
|
level = +level || 1
|
||||||
if (!shop || !validShopId(shop)) {
|
if (!shop || !validShopId(shop)) {
|
||||||
throw new ZError(10, `type: ${type} 没有店铺id或者店铺id格式不正确, ${shop}`)
|
throw new ZError(10, `type: ${type} level:${level} 没有店铺id或者店铺id格式不正确, ${shop}`)
|
||||||
}
|
}
|
||||||
const cfg = fetchLevelCfg(level)
|
const cfg = fetchLevelCfg(level)
|
||||||
let params = {}
|
let params = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user