zhangzy
2021-02-22 b0c6782844a09cc2c4c313d5f4d4a36cf22fd352
'save'
1 files modified
2 ■■■ changed files
app/Http/Controllers/Api/v1/FaceController.php 2 ●●● patch | view | raw | blame | history
app/Http/Controllers/Api/v1/FaceController.php
@@ -69,7 +69,7 @@
        $search = $faceObj->SearchFace($path);
        if(!isset($faceList['data']['Data']))
        {
            if(!isset($search['data']['Data']['MatchList']) || count($search['data']['Data']['MatchList']) == 0)
            if(!isset($search['data']['Data']['MatchList'])  || count($search['data']['Data']['MatchList']) == 0)
            {
                return $this->_response([], ResponseCode::PARAM_ERROR, '采集失败,未检测到用户人脸');
            }