|
|
@@ -252,7 +252,7 @@ class User extends UserModel
|
|
|
*/
|
|
|
public static function getQrcode($sid){
|
|
|
$fileName = '/uploads/qrcode/'.$sid.'_'.md5($sid).'.jpg';
|
|
|
- $cache = Cache::tag('cache')->get('caches:qrcode:'.$sid);
|
|
|
+ $cache = Cache::get('caches:qrcode:'.$sid);
|
|
|
if($cache && file_exists(app()->getRootPath().'public'.$fileName)){
|
|
|
return getPreview($fileName);
|
|
|
}
|