|
|
@@ -68,6 +68,7 @@ class OrganizationService extends Service
|
|
|
|
|
|
$this->saveDetail($model->id, time(), $data);
|
|
|
|
|
|
+ $id = $model->id;
|
|
|
DB::commit();
|
|
|
}catch (\Exception $exception){
|
|
|
DB::rollBack();
|
|
|
@@ -77,7 +78,7 @@ class OrganizationService extends Service
|
|
|
return [false,$exception->getMessage()];
|
|
|
}
|
|
|
|
|
|
- return [true, ''];
|
|
|
+ return [true, ['id' => $id]];
|
|
|
}
|
|
|
|
|
|
private function saveDetail($id, $time, $data){
|