xiaogang hace 4 años
padre
commit
25dda0e32c
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      app/Http/Controllers/Api/UserController.php

+ 5 - 5
app/Http/Controllers/Api/UserController.php

xqd
@@ -340,11 +340,11 @@ class UserController extends Controller
         $apiFace = new \AipFace(env('BAI_DU_YUN_APP_ID'),env('BAI_DU_YUN_API_KEY'),env('BAI_DU_YUN_SECRET_KEY'));
         try {
            $images = array(
-                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/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',