xiaogang 4 年之前
父节点
当前提交
fd70241f46
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/Http/Controllers/Api/UserController.php

+ 2 - 0
app/Http/Controllers/Api/UserController.php

xqd
@@ -343,10 +343,12 @@ class UserController extends Controller
                 array(
                     'image' => base64_encode(file_get_contents('https://zhengda.oss-accelerate.aliyuncs.com/tinymce/images/dcdc14c5987ebbb233a6232264bb80e260e7ef418313d.jpg')),
                     'image_type' => 'BASE64',
+                    'liveness_control'=>'HIGH',
                 ),
                 array(
                     'image' => base64_encode(file_get_contents('https://zhengda.oss-accelerate.aliyuncs.com/tinymce/images/cea206a2046b895f253445f35794226860e7ef561e3ac.jpg')),
                     'image_type' => 'BASE64',
+                    'liveness_control'=>'HIGH',
                 ),
             );
             $res = $apiFace->match($images);