测试医生注册
This commit is contained in:
@@ -95,9 +95,21 @@ class CompleteController extends BaseServiceController
|
||||
public function actionDoctorStepOne()
|
||||
{
|
||||
//医院院区科室职称有删除的怎么办-先不管
|
||||
$form = new DoctorCompleteOne();
|
||||
$form->attributes = \Yii::$app->request->post();
|
||||
return $form->save();
|
||||
try {
|
||||
$form = new DoctorCompleteOne();
|
||||
$form->attributes = \Yii::$app->request->post();
|
||||
return $form->save();
|
||||
} catch (\Exception $e) {
|
||||
ds([
|
||||
'code' => 500,
|
||||
'msg' => $e->getMessage(),
|
||||
'data' => [
|
||||
$e->getLine(),
|
||||
$e->getFile(),
|
||||
]
|
||||
]);
|
||||
throw new Exception($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user