wesmiler преди 2 седмици
родител
ревизия
2fef51e550
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/Api/MemberService.php

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

@@ -419,7 +419,7 @@ class MemberService extends BaseService
 
             if($type == 'center'){
                 $info['point_count'] = $this->model->where(['point_id'=>$info['id'],'mark'=>1])->count('id');
-                $info['user_count'] = $this->model->where(['parent_id'=>$info['id'],'mark'=>1])->count('id');
+                $info['invite_count'] = $this->model->where(['parent_id'=>$info['id'],'mark'=>1])->count('id');
             }
 
             RedisService::set($cacheKey, $info, rand(10, 20));