This commit is contained in:
unknown 2023-09-21 18:09:47 +08:00
parent 3e4cf909b8
commit 882db260c0
1 changed files with 0 additions and 1 deletions

View File

@ -54,7 +54,6 @@ class UserLogic extends BaseLogic
if(isset($params['pay_type']) && in_array($params['pay_type'],[0,1,2,3,4])){ if(isset($params['pay_type']) && in_array($params['pay_type'],[0,1,2,3,4])){
$search[] = ['pay_type','=',$params['pay_type']]; $search[] = ['pay_type','=',$params['pay_type']];
} }
dump($search);
//获取用户余额列表 //获取用户余额列表
$fields = 'id,record_id,amount,total_amount,type,pay_type,mark,appid,create_time'; $fields = 'id,record_id,amount,total_amount,type,pay_type,mark,appid,create_time';
$lists = UserBalance::field($fields)->where('user_id',$params['uid'])->where($search)->page($params['page_no'],$params['page_size'])->order('create_time desc')->select()->each(function($item){ $lists = UserBalance::field($fields)->where('user_id',$params['uid'])->where($search)->page($params['page_no'],$params['page_size'])->order('create_time desc')->select()->each(function($item){