|
@@ -37,7 +37,7 @@ class Api extends Core
|
|
|
{
|
|
|
//$file = 'shareDv_' . $this->uid . '_' . $this->id . '_' . $content_id;
|
|
|
$file = 'shareDv_' . md5($this->user['avatar']);
|
|
|
- $file = Dever::load('qrcode/api')->qrcode($url, $file, $this->user['avatar']);
|
|
|
+ $file = Dever::load('qrcode/api')->qrcode($url, $file, $this->user['avatar'], $this->uid);
|
|
|
|
|
|
return $file['url'];
|
|
|
}
|
|
@@ -78,7 +78,7 @@ class Api extends Core
|
|
|
$data['info']['qrcode'] = $data['info']['name'] = $data['info']['price'] = $data['info']['s_price'] = '';
|
|
|
|
|
|
$code = $this->getCode($this->id, $this->parent_page_id, $this->page_id, $index, $this->times, $this->day, $this->uid);
|
|
|
-
|
|
|
+
|
|
|
$url .= '?code=' . $code . '&name=' . $info['name'];
|
|
|
|
|
|
$url = $this->getUrl($url);
|