|
@@ -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'];
|