Browse Source

实时接口参数错误优化

master
wanghongjun 3 years ago
parent
commit
e9e0d761d1
  1. 2
      source/application/api/controller/pass/Passcc.php

2
source/application/api/controller/pass/Passcc.php

@ -186,7 +186,7 @@ class Passcc extends Controller
$data = [];
$configRes = $dm->find("bt_config",' "key" = ' . "'threshold'");
$threshold = $configRes['threshold'] ?: 0;
$threshold = $configRes['value'] ?: 0;
foreach ($list as $value) {
if (!isset($data[$value['groupId']]['allEnter'])) $data[$value['groupId']]['allEnter'] = 0;

Loading…
Cancel
Save