xiaogang 3 年之前
父节点
当前提交
7ca27c2d80
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 0
      app/Admin/Actions/Chat/ChatLog.php
  2. 1 2
      app/Admin/Actions/Users/UsersInfoForm.php

+ 1 - 0
app/Admin/Actions/Chat/ChatLog.php

xqd
@@ -18,6 +18,7 @@ class ChatLog extends LazyRenderable
             $grid->column('To_Account');
             $grid->column('MsgTimeStamp');
             $grid->column('MsgBody')->display(function ($res){
+                dd($res);
                 $res = json_decode($res,true);
                 if($res[0]['MsgType']=='TIMTextElem'){
                     //文本消息

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

xqd
@@ -47,13 +47,12 @@ class UsersInfoForm extends Form implements LazyRenderable
         $this->text('education', '学历');
         $this->text('income', '年收入');
         $this->text('hobby', '兴趣爱好')->help("多个字段用,隔开,例如:唱歌,跳舞");
-        $this->text('hobby', '兴趣爱好')->help("多个字段用,隔开,例如:唱歌,跳舞");
         $this->text('drink', '喝酒');
         $this->text('smoke', '抽烟');
         $this->array('photo', function (Form $form) {
             $form->image('url','图片')->disk('oss')->saveFullUrl()->uniqueName()->removable(false);
             $form->radio('state','阅后即焚')->options([0=>"否",1=>"是"])->default(0);
         })->saveAsJson()->label('相册');
-
+        //$this->file('video', '视频')->saveAsJson();
     }
 }