|
@@ -202,10 +202,12 @@ class Api extends Core
|
|
|
$data['code'] = $this->getInfoCode();
|
|
|
|
|
|
# 获取合集分享信息
|
|
|
- $data['share'] = $this->getInfoShare($data['info']);
|
|
|
+ if ($this->uid && $this->uid > 0) {
|
|
|
+ $data['share'] = $this->getInfoShare($data['info']);
|
|
|
+ }
|
|
|
|
|
|
$data['share_user'] = array();
|
|
|
- if ($this->share_uid && $this->share_uid > 0) {
|
|
|
+ if ($this->uid && $this->uid > 0 && $this->share_uid && $this->share_uid > 0) {
|
|
|
# 获取分享人信息
|
|
|
$data['share_user'] = $this->getUser($this->share_uid, $data['info']['id']);
|
|
|
if ($data['share_user']) {
|