dever 4 年之前
父節點
當前提交
d8dc5dbbda
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
     {
         //$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);
 
         return $file['url'];