wesmiler 2 тижнів тому
батько
коміт
0ea59536b4
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/Services/Api/MemberService.php

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

@@ -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']) ? $pointId.','.$pointParent['points'] : ($pointId ? $pointId . ',' : '');
+                    $points = isset($pointParent['points']) ? $pointParent['points'].$pointId.',' : ($pointId ? ','.$pointId . ',' : '');
                 }
             }