xiaogang 3 년 전
부모
커밋
6a426a3da4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Admin/Actions/Users/UsersInfoForm.php

+ 1 - 1
app/Admin/Actions/Users/UsersInfoForm.php

xqd
@@ -34,7 +34,7 @@ class UsersInfoForm extends Form implements LazyRenderable
         $this->fill($user_info);
         $this->text('user_id',"用户ID")->readOnly();
         $this->text('nickname', '昵称')->required();
-        $this->image('avatar', '头像')->saveFullUrl()->uniqueName()->removable(false);
+        $this->image('avatar', '头像')->disk('oss')->saveFullUrl()->uniqueName()->removable(false);
         $this->text('weixin', '微信号');
         $this->text('birthday', '生日');
         $this->text('height', '身高');