wzq 5 éve
szülő
commit
25e9b497d2
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      app/Repositories/V2/FloorRepository.php

+ 2 - 1
app/Repositories/V2/FloorRepository.php

@@ -2,6 +2,7 @@
 namespace App\Repositories\V2;
 use App\Models\Floor;
 use Illuminate\Support\Facades\Log;
+use Illuminate\Support\Facades\Redis;
 use Symfony\Component\HttpKernel\Exception\HttpException;
 use Dingo\Api\Http\Response;
 use Illuminate\Support\Facades\DB;
@@ -77,7 +78,7 @@ class FloorRepository
         DB::beginTransaction();
         try{
             $res = $floor->save();
-
+            Redis::DEL('suggest_post_floor');
             if($res){
                 DB::commit();
                 return Response::create();