hrjy 3 years ago
parent
commit
f452065a54
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/models/user/UserBill.php

+ 3 - 3
app/models/user/UserBill.php

@@ -65,7 +65,7 @@ class UserBill extends BaseModel
             if ($page) {
                 $list = self::where('uid', $uid)
                     ->where('category', 'now_money')
-                    ->where('type', 'in','brokerage')
+                    ->where('type', 'in','brokerage,extract')
                     ->field('mark,pm,number,add_time')
                     ->where('status', 1)
                     ->where($where)
@@ -75,7 +75,7 @@ class UserBill extends BaseModel
             } else {
                 $list = self::where('uid', $uid)
                     ->where('category', 'now_money')
-                    ->where('category', 'in','extract')
+                    ->where('category', 'in','brokerage,extract')
                     ->field('mark,pm,number,add_time')
                     ->where('status', 1)
                     ->where($where)
@@ -104,7 +104,7 @@ class UserBill extends BaseModel
             } else {
                 $list = self::where('uid', $uid)
                     ->where('category', $category)
-                    ->where('category', 'notIn','extract')
+                    ->where('category', 'notIn','brokerage,extract')
                     ->field('mark,pm,number,add_time')
                     ->where('status', 1)
                     ->where($where)