|
|
@@ -391,7 +391,7 @@ class MemberService extends BaseService
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
- $data = $this->model->where(['parent_id'=> $userId, 'mark'=> 1])->count('id');
|
|
|
+ $data = $this->model->where(['parent_id'=> $userId, 'mark'=> 1,'status'=>1])->count('id');
|
|
|
if($data){
|
|
|
RedisService::set($cacheKey, $data, rand(3, 5));
|
|
|
}
|