xiaogang 3 gadi atpakaļ
vecāks
revīzija
6a426a3da4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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', '身高');