WIN-2308041133\Administrator 2 ماه پیش
والد
کامیت
0ae5ff366b
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      app/services/user/UserMoneyServices.php

+ 3 - 0
app/services/user/UserMoneyServices.php

@@ -361,9 +361,12 @@ class UserMoneyServices extends BaseServices
         [$page, $limit] = $this->getPageValue();
         if ($type == 1) {
             $where['pm'] = 0;
+            $where['not_type'] = ['system_add'];
         } elseif ($type == 2) {
             $where['pm'] = 1;
             $where['not_type'] = ['pay_product_refund','system_add'];
+        }else{
+            $where['not_type'] = ['system_add'];
         }
         $list = $this->dao->getList($where, $page, $limit);
         $count = $this->dao->count($where);