feat : spu

This commit is contained in:
2025-03-26 16:55:31 +08:00
parent 87808f2c6e
commit b1f79620fb
8 changed files with 121 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Amqp\Consumer\Refund;
use App\Constants\Common\OrderCode;
use App\Exception\ErrException;
use App\Lib\Log;
use App\Service\Amqp\Refund\RefundGoodOrderFinishService;
@@ -53,6 +54,8 @@ class GoodOrderRefundFinishConsumer extends ConsumerMessage
$service->orderSno = $data['order_sno'];
$service->payType = (int)$data['pay_type'];
$service->callbackData = $data['callback_data'];
$service->orderType = OrderCode::ORDER_TYPE_GOOD;
$service->handle();
} catch (Exception|ErrException $e) {