This commit is contained in:
Your Name
2026-05-14 16:23:29 +08:00
parent e35696e153
commit d3388b160e
9 changed files with 417 additions and 5 deletions
@@ -28,6 +28,7 @@ class AppointmentValidate extends BaseValidate
'remark' => 'max:500',
'channel_source' => 'require',
'channel_source_detail' => 'max:128',
'ids' => 'require|array',
'note_id' => 'require|integer',
'image_type' => 'require|in:tongue_images,report_files',
'image_path' => 'require',
@@ -51,6 +52,7 @@ class AppointmentValidate extends BaseValidate
'assistant_id' => '医助',
'channel_source' => '渠道来源',
'channel_source_detail' => '渠道补充说明',
'ids' => '预约ID列表',
];
/**
@@ -148,4 +150,10 @@ class AppointmentValidate extends BaseValidate
'channel_source_detail',
]);
}
/** 批量修改挂号渠道(权限同 doctor.appointment/edit */
public function sceneBatchEditChannel()
{
return $this->only(['ids', 'channel_source', 'channel_source_detail']);
}
}