作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

修改二维码

@@ -1519,7 +1519,7 @@ class Create extends Api @@ -1519,7 +1519,7 @@ class Create extends Api
1519 $data['thumbnail'] = $this->qrcode($page,$user_id); 1519 $data['thumbnail'] = $this->qrcode($page,$user_id);
1520 } 1520 }
1521 if(!empty($folder_id)){ 1521 if(!empty($folder_id)){
1522 - $info = Db::name('folder')->where('id',$id)->field('id,share_url')->find(); 1522 + $info = Db::name('folder')->where('id',$folder_id)->field('id,share_url')->find();
1523 //生成二维码 1523 //生成二维码
1524 $page = $info['share_url']; 1524 $page = $info['share_url'];
1525 $data['thumbnail'] = $this->qrcode($page,$user_id); 1525 $data['thumbnail'] = $this->qrcode($page,$user_id);