feat: 修改CateLists和PayNotifyLogic类以优化订单支付处理流程

This commit is contained in:
mkm 2024-06-11 16:16:48 +08:00
parent 1dc29d6145
commit 534842dd7a
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class CateLists extends BaseAdminDataLists implements ListsSearchInterface
public function setSearch(): array
{
return [
'=' => ['pid', 'name', 'data', 'store_id', 'sort'],
'=' => [ 'name', 'data', 'store_id', 'sort'],
];
}

View File

@ -78,6 +78,8 @@ class PayNotifyLogic extends BaseLogic
$capitalFlowDao = new CapitalFlowLogic($user);
$capitalFlowDao->userExpense('user_order_pay', 'order', $order['id'], $order['pay_price']);
self::afterPay($order);
Redis::send('push-platform-print', ['id' => $order['id']], 60);
}
/**