xiaogang 4 年 前
コミット
b7495ee156
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/Http/Controllers/Api/HomeController.php

+ 2 - 2
app/Http/Controllers/Api/HomeController.php

xqd
@@ -185,10 +185,10 @@ class HomeController extends Controller
 
             if ($lock->get()) {
                 if(!$user){
-                    //dd(Cache::has(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url)));
+                    dd(Cache::has(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url)));
                     if(!Cache::has(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url))){
                         Cache::forever(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url),$request->url);
-                        dd(Cache::get(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url)));
+                       // dd(Cache::get(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url)));
                     }
                 }else{
                     if(!UserPhotoDestroy::query()->where(['user_id'=>$user->id,'url'=>$request->url])->first()){