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))){