This commit is contained in:
Your Name
2026-09-09 15:47:48 +08:00
parent bd5d5c5f08
commit cb10e75ead
98 changed files with 7031 additions and 804 deletions
@@ -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()