hrjy 3 年之前
父節點
當前提交
f452065a54
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)