feat : wechatPay callback

This commit is contained in:
2025-03-18 16:27:24 +08:00
parent 63b6cce2bd
commit c7b667dc61
4 changed files with 10 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ class OrderGoodStockConsumer extends ConsumerMessage
match ($data['type']) {
OrderCode::WAIT_PAY => $this->waitPaySubStock(),
OrderCode::CANCEL => $this->cancelAddStock(),
OrderCode::FINISH_REFUND,OrderCode::UNCOMPLETED_REFUND => $this->RefundUpdateData($data),
// OrderCode::FINISH_REFUND,OrderCode::UNCOMPLETED_REFUND => $this->RefundUpdateData($data),//todo 退款后 库存不回收 因为存在退款一部分 无法核查
default => throw new Exception('OrderGoodStockConsumer:error:无效的订单类型')
};