|
|
@@ -167,7 +167,7 @@ class MpService extends BaseService
|
|
|
$cacheKey = "caches:members:mp_{$this->mpAppid}:";
|
|
|
$filePath = base_path('public/uploads');
|
|
|
$qrFile = '/qrcodes/mp_'.date("YmdHis")."_".md5($page.$scene).".png";
|
|
|
- $qrKey = md5($qrFile);
|
|
|
+ $qrKey = md5(date("Ym").$page.$scene);
|
|
|
if(RedisService::get($cacheKey.$qrKey) && file_exists($filePath.'/'.$qrFile) && !$refresh){
|
|
|
return $qrFile;
|
|
|
}
|