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

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

xqd
@@ -183,6 +183,8 @@ class HomeController extends Controller
             $user = auth('api')->user();
             $cache_eq_id = $request->header('uniqueID','');//获取设备码
             $lock = Cache::lock(ApiEnum::PHOTO_DESTROY_LOCK.$cache_eq_id, 1);
+
+            dd(Cache::get(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url)));
             if ($lock->get()) {
                 if(!$user){
                     if(!Cache::get(ApiEnum::PHOTO_DESTROY_URL.$cache_eq_id.md5($request->url))){