|
...
|
...
|
@@ -27,6 +27,7 @@ use App\Services\ProjectServer; |
|
|
|
use Hashids\Hashids;
|
|
|
|
use App\Models\User\User as UserModel;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class ProjectLogic
|
|
...
|
...
|
@@ -98,6 +99,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
DB::commit();
|
|
|
|
}catch (\Exception $e){
|
|
|
|
DB::rollBack();
|
|
|
|
Log::error($e->getMessage());
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
|
|
|
return $this->success();
|
...
|
...
|
|