xiaogang 4 년 전
부모
커밋
7ef67e9ec6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Http/Controllers/Api/UserController.php

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

xqd
@@ -425,8 +425,8 @@ class UserController extends Controller
 
             $images = array(
                 array(
-                    'image' => base64_encode(file_get_contents($userinfo->avatar)),
-//                    'image' => base64_encode(file_get_contents("https://zhengda.oss-accelerate.aliyuncs.com/tinymce/images/dcdc14c5987ebbb233a6232264bb80e260f4f496e12ba.jpg")),
+//                    'image' => base64_encode(file_get_contents($userinfo->avatar)),
+                    'image' => base64_encode(file_get_contents("https://zhengda.oss-accelerate.aliyuncs.com/tinymce/images/dcdc14c5987ebbb233a6232264bb80e260f4f496e12ba.jpg")),
                     'image_type' => 'BASE64',
                     'liveness_control'=>'NORMAL',
                 ),