Prechádzať zdrojové kódy

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

ChenWuJie 4 rokov pred
rodič
commit
015a3a80a4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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();
     }