feat: 添加'user_balance_recharge_refund'到$categories数组

This commit is contained in:
mkm 2024-07-05 19:02:40 +08:00
parent 1fd70503c0
commit ac2c632fbb

View File

@ -230,7 +230,7 @@ class UserLogic extends BaseLogic
switch ($params['type']){
case 1:
//采购款明细
$categories = ['user_balance_recharge', 'user_order_purchase_pay','system_purchase_add'];
$categories = ['user_balance_recharge', 'user_order_purchase_pay','system_purchase_add','user_balance_recharge_refund'];
$query = CapitalFlow::where('uid', $params['id'])
->whereIn('category', $categories);
$count = $query->count();