Sfoglia il codice sorgente

wesmiler 抢表商城

APPLE 3 anni fa
parent
commit
a8039892e5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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));
         }