dever 4 lat temu
rodzic
commit
d8dc5dbbda
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/collection/src/Api.php

+ 1 - 1
app/collection/src/Api.php

@@ -36,7 +36,7 @@ class Api extends Core
     public function qrcode($url, $content_id)
     public function qrcode($url, $content_id)
     {
     {
         //$file = 'shareDv_' . $this->uid . '_' . $this->id . '_' . $content_id;
         //$file = 'shareDv_' . $this->uid . '_' . $this->id . '_' . $content_id;
-        $file = 'shareDv_' . md5($this->user['avatar']);
+        $file = 'shareDv_' . md5($url . $this->user['avatar']);
         $file = Dever::load('qrcode/api')->qrcode($url, $file, $this->user['avatar'], $this->uid);
         $file = Dever::load('qrcode/api')->qrcode($url, $file, $this->user['avatar'], $this->uid);
 
 
         return $file['url'];
         return $file['url'];