更新
This commit is contained in:
@@ -32,6 +32,7 @@ class AppointmentController extends BaseAdminController
|
||||
public function create()
|
||||
{
|
||||
$params = (new AppointmentValidate())->post()->goCheck('create');
|
||||
$params['assistant_id'] = $this->adminId;
|
||||
$result = AppointmentLogic::create($params);
|
||||
if ($result === false) {
|
||||
return $this->fail(AppointmentLogic::getError());
|
||||
|
||||
Reference in New Issue
Block a user