| xqd
@@ -435,18 +435,16 @@ class UserController extends Controller
|
|
|
),
|
|
|
);
|
|
|
$result = $apiFace->match($images);
|
|
|
- $result = json_decode($result,true);
|
|
|
- if($result['error_code']==0){
|
|
|
- $res = $result['face_list'];
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+// $result = json_decode($result,true);
|
|
|
+// if($result['error_code']==0){
|
|
|
+// $res = $result['face_list'];
|
|
|
+// }
|
|
|
|
|
|
|
|
|
}catch (\Exception $exception){
|
|
|
return $this->response->errorForbidden($exception->getMessage());
|
|
|
}
|
|
|
- return response()->json($res);
|
|
|
+ return response()->json($result);
|
|
|
}
|
|
|
|
|
|
/**
|