|
@@ -213,7 +213,7 @@ class Api extends Core
|
|
|
$data['code'] = $this->getInfoCode();
|
|
|
|
|
|
# 获取合集分享信息
|
|
|
- $data['share'] = $this->getInfoShare($data['info']);
|
|
|
+ $data['share'] = $this->getInfoShare($data['info'], $data['code']);
|
|
|
|
|
|
$data['share_user'] = array();
|
|
|
if ($this->uid && $this->uid > 0 && $this->share_uid && $this->share_uid > 0) {
|
|
@@ -240,7 +240,7 @@ class Api extends Core
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
- private function getInfoShare($info)
|
|
|
+ private function getInfoShare($info, $code = false)
|
|
|
{
|
|
|
if ($this->uid && $this->uid > 0) {
|
|
|
$data['title'] = $info['share_title'] ? $info['share_title'] : '{username}邀请你看{name}';
|