|
|
@@ -1704,7 +1704,7 @@ class User extends BaseController
|
|
|
$post = UtilService::getMore([
|
|
|
['page', 1],
|
|
|
['pageSize', 20],
|
|
|
- ['type', ''], // 1收入 -1支出
|
|
|
+ ['type', -1], // 1收入 -1支出
|
|
|
['order_sn', ''],
|
|
|
|
|
|
], $request);
|
|
|
@@ -1722,7 +1722,9 @@ class User extends BaseController
|
|
|
$where[] = ['uid', '=', $uid];
|
|
|
|
|
|
if (!empty($post['type']) && in_array(strval($post['type']), ["1", "-1"])) {
|
|
|
- $where[] = ['type', '=', $post['type']];
|
|
|
+ if ($post['type'] >-1){
|
|
|
+ $where[] = ['type', '=', $post['type']];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (!empty($post['order_sn'])) {
|