hefei 1 год назад
Родитель
Сommit
b725cf2c2d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/command/repairPvLog.php

+ 1 - 1
app/command/repairPvLog.php

@@ -27,7 +27,7 @@ class repairPvLog extends Command
27 27
         $user_id_list = Db::name('user')->where([['pv','=',0]])->column('uid');
28 28
         if($user_id_list){
29 29
             foreach ($user_id_list as $user_id) {
30
-                $order_list = Db::name('store_order')->where(['uid' => $user_id,'paid' => 1])->where([['status','in','2,3']])->select();
30
+                $order_list = Db::name('store_order')->where(['uid' => $user_id,'paid' => 1])->where('mer_id',496)->select();
31 31
                 if($order_list) {
32 32
                     $pv = 0;
33 33
                     foreach ($order_list as $order) {