|
@@ -44,7 +44,7 @@ class WorkFLowService extends Service
|
|
|
$model->title = $data['title'] ?? '';
|
|
$model->title = $data['title'] ?? '';
|
|
|
$model->content = $data['content'] ?? '';
|
|
$model->content = $data['content'] ?? '';
|
|
|
$model->crt_id = $user['id'];
|
|
$model->crt_id = $user['id'];
|
|
|
- $model->top_depart_id = $data['top_depart_id'];
|
|
|
|
|
|
|
+ $model->top_depart_id = $user['top_depart_id'];
|
|
|
$model->save();
|
|
$model->save();
|
|
|
|
|
|
|
|
DB::commit();
|
|
DB::commit();
|