修改查询条件

This commit is contained in:
liu 2024-03-11 09:19:39 +08:00
parent d614cfc42a
commit 16fead435b

View File

@ -195,7 +195,7 @@ class UserBillDao extends BaseDao
$query->whereIn('type', ['pay_product', 'recharge', 'sys_inc_money', 'sys_dec_money', 'brokerage', 'presell', 'refund', 'zhibo_reward_inc', 'zhibo_reward_dec','order_one'])
->where(function ($query) {
$query->where('category', 'now_money')
->orWhere('category', 'brokerage');
->whereOr('category', 'brokerage');
})
;
else if ($where['now_money'] == 1)