wesmiler 2 tuần trước cách đây
mục cha
commit
4635262706

+ 1 - 1
app/Services/Api/MemberService.php

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