Ver Fonte

wesmiler

wesmiler há 2 semanas atrás
pai
commit
2fef51e550
1 ficheiros alterados com 1 adições e 1 exclusões
  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));