|
@@ -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();
|