Przeglądaj źródła

wesmiler 抢表商城

APPLE 3 lat temu
rodzic
commit
a8039892e5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Services/Common/MemberService.php

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

@@ -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));
         }