|
|
@@ -395,7 +395,7 @@ class MemberService extends BaseService
|
|
|
$pointId = 0;
|
|
|
$points = '';
|
|
|
if($parentId>0){
|
|
|
- $pointId = $this->getPointParentId($parentId);
|
|
|
+ $pointId = \App\Services\Api\MemberService::make()->getPointParentId($parentId);
|
|
|
if($pointId){
|
|
|
$pointParent = $this->model->where(['id'=> $pointId,'mark'=>1])->select(['id','points'])->first();
|
|
|
$points = isset($pointParent['points']) && $pointParent['points']? $pointParent['points'].$pointId.',' : ($pointId ? $pointId . ',' : '');
|