fix(scanCheckinDetail): 完善参数获取逻辑并修复语法格式问题
补充支持 detail_id、stageId、stage_id 作为详情ID参数,修复多处缺失的尾部逗号格式问题
Showing
1 changed file
with
8 additions
and
1 deletions
| ... | @@ -415,7 +415,14 @@ const initPage = options => { | ... | @@ -415,7 +415,14 @@ const initPage = options => { |
| 415 | const sceneParams = parseScanCheckinSceneParams(options.scene || '') | 415 | const sceneParams = parseScanCheckinSceneParams(options.scene || '') |
| 416 | 416 | ||
| 417 | detail.activityId = sceneParams.activityId || options.activityId || options.activity_id || '' | 417 | detail.activityId = sceneParams.activityId || options.activityId || options.activity_id || '' |
| 418 | - const detailId = sceneParams.detailId || options.detailId || options.id || '' | 418 | + const detailId = |
| 419 | + sceneParams.detailId || | ||
| 420 | + options.detailId || | ||
| 421 | + options.detail_id || | ||
| 422 | + options.stageId || | ||
| 423 | + options.stage_id || | ||
| 424 | + options.id || | ||
| 425 | + '' | ||
| 419 | detail.regSource = options.reg_source || '' | 426 | detail.regSource = options.reg_source || '' |
| 420 | detail.regStageId = options.reg_stage_id || '' | 427 | detail.regStageId = options.reg_stage_id || '' |
| 421 | detail.entrySceneRaw = sceneParams.rawScene || '' | 428 | detail.entrySceneRaw = sceneParams.rawScene || '' | ... | ... |
-
Please register or login to post a comment