字段错误修复
This commit is contained in:
@@ -229,13 +229,13 @@ class DoctorController extends BaseAdminController
|
||||
*/
|
||||
public function actionInfo()
|
||||
{
|
||||
$get = \Yii::$app->request->get();
|
||||
$this->requestValidate($get, [
|
||||
$post = \Yii::$app->request->post();
|
||||
$this->requestValidate($post, [
|
||||
['doctor_id', 'required']
|
||||
]);
|
||||
$doctor = $get['doctor_id'];
|
||||
$doctor = $post['doctor_id'];
|
||||
$ServiceUser = ServiceUser::find()->alias('su')->where([
|
||||
'su.id' => $get['doctor_id'],
|
||||
'su.id' => $post['doctor_id'],
|
||||
'su.role' => UserRoleEnum::DOCTOR,
|
||||
'su.is_delete' => 0
|
||||
])->with(['docInfo', 'docIdentity', 'docPracticing', 'docService'])
|
||||
|
||||
Reference in New Issue
Block a user