wupengfei 2 лет назад
Родитель
Сommit
65d140f972
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      application/user/controller/Invite.php

+ 2 - 0
application/user/controller/Invite.php

@@ -133,6 +133,7 @@ class Invite extends Controller
             $list =  Db::name('store_member')
                 ->field('pid,count(*) count')
                 ->where('pid','>',0)
+                ->where('bank_num is not null')
                 ->where('is_auth',1)
                 ->where($where)
                 ->whereBetweenTime('create_at',$start_date_time,$end_date_time)
@@ -144,6 +145,7 @@ class Invite extends Controller
                 ->field('pid,count(*) count')
                 ->where('pid','>',0)
                 ->where('is_auth',1)
+                ->where('bank_num is not null')
                 ->where($where)
                 ->group('pid')
                 ->order('count desc')