liumiao
2021-02-02 bd567b3c76e217bc0123c62cf5ce5a5d95095c8b
Merge remote-tracking branch 'origin/master'
1 files modified
5 ■■■■■ changed files
app/Http/Controllers/Api/v1/FaceController.php 5 ●●●●● patch | view | raw | blame | history
app/Http/Controllers/Api/v1/FaceController.php
@@ -234,6 +234,11 @@
            return $this->_response([], ResponseCode::PARAM_ERROR, $error);
        }
        $paramArr = json_decode($request->paramJson, true);
        if(count($paramArr)!=0) {
            if(count($paramArr[0])!=4) {
                return $this->_response([], ResponseCode::PARAM_ERROR, '格式错误');
            }
        }
        foreach($paramArr as $k => $v)
        {