dever 4 år sedan
förälder
incheckning
78a758eb4d
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      app/collection/src/Api.php

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

@@ -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);