xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
52722c1733
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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))){