更新
This commit is contained in:
@@ -9,6 +9,7 @@ use app\common\validate\BaseValidate;
|
||||
class PrescriptionValidate extends BaseValidate
|
||||
{
|
||||
protected $rule = [
|
||||
'prescription_order_id' => 'integer|gt:0',
|
||||
'id' => 'require',
|
||||
'diagnosis_id' => 'number',
|
||||
'appointment_id' => 'number',
|
||||
@@ -71,7 +72,7 @@ class PrescriptionValidate extends BaseValidate
|
||||
|
||||
public function sceneDetail()
|
||||
{
|
||||
return $this->only(['id']);
|
||||
return $this->only(['id', 'prescription_order_id']);
|
||||
}
|
||||
|
||||
public function scenePatchPatient()
|
||||
|
||||
Reference in New Issue
Block a user