浏览代码

更新医生认证的需求,通过要往医生表上带上科室和资质

ChenWuJie 4 年之前
父节点
当前提交
015a3a80a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Admin/Actions/backstage/Pass.php

+ 1 - 1
app/Admin/Actions/backstage/Pass.php

xqd
@@ -21,7 +21,7 @@ class Pass extends RowAction
                                                             'authentication_time'=>date('Y-m-d H:i:s'),
                                                             'authentication_end_time'=>$authentication_end_time]
                                                             );
-        Docter::where('id',$model->docter_id)->update(['is_then'=>1]);
+        Docter::where('id',$model->docter_id)->update(['is_then'=>1,'office_id'=>$model->offices_id,'qualification_id'=>$model->qualifications_id]);
         return $this->response()->success('审核通过')->refresh();
     }