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