feat: 修改CateLists和PayNotifyLogic类以优化订单支付处理流程
This commit is contained in:
parent
1dc29d6145
commit
534842dd7a
@ -27,7 +27,7 @@ class CateLists extends BaseAdminDataLists implements ListsSearchInterface
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['pid', 'name', 'data', 'store_id', 'sort'],
|
'=' => [ 'name', 'data', 'store_id', 'sort'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,8 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
$capitalFlowDao = new CapitalFlowLogic($user);
|
$capitalFlowDao = new CapitalFlowLogic($user);
|
||||||
$capitalFlowDao->userExpense('user_order_pay', 'order', $order['id'], $order['pay_price']);
|
$capitalFlowDao->userExpense('user_order_pay', 'order', $order['id'], $order['pay_price']);
|
||||||
self::afterPay($order);
|
self::afterPay($order);
|
||||||
|
Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user