更新
This commit is contained in:
@@ -141,10 +141,11 @@ class DiagnosisValidate extends BaseValidate
|
||||
/** IM / video identity: validate shape here; ownership is checked in the logic layer. */
|
||||
public function sceneCallIdentity()
|
||||
{
|
||||
return $this->only(['diagnosis_id', 'patient_id'])
|
||||
return $this->only(['diagnosis_id', 'patient_id', 'appointment_id'])
|
||||
->remove('diagnosis_id', 'checkDiagnosisId')
|
||||
->append('diagnosis_id', 'gt:0')
|
||||
->append('patient_id', 'require|integer|gt:0');
|
||||
->append('patient_id', 'require|integer|gt:0')
|
||||
->append('appointment_id', 'integer|egt:0');
|
||||
}
|
||||
|
||||
public function sceneGenerateQrcode()
|
||||
|
||||
Reference in New Issue
Block a user