|
|
@@ -228,7 +228,7 @@ class MemberService extends BaseService
|
|
|
$pointId = $this->getPointParentId($rid);
|
|
|
if($pointId){
|
|
|
$pointParent = $this->model->where(['id'=> $pointId,'mark'=>1])->select(['id','points'])->first();
|
|
|
- $points = isset($pointParent['points']) ? $pointParent['points'].$pointId.',' : ($pointId ? $pointId . ',' : '');
|
|
|
+ $points = isset($pointParent['points']) && $pointParent['points']? $pointParent['points'].$pointId.',' : ($pointId ? $pointId . ',' : '');
|
|
|
}
|
|
|
}
|
|
|
|