feat : spu
This commit is contained in:
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Amqp\Consumer\Pay;
|
namespace App\Amqp\Consumer\Pay;
|
||||||
|
|
||||||
|
use App\Constants\Common\OrderCode;
|
||||||
use App\Exception\ErrException;
|
use App\Exception\ErrException;
|
||||||
use App\Lib\Log;
|
use App\Lib\Log;
|
||||||
use App\Service\Amqp\Pay\PayGoodOrderFinishService;
|
use App\Service\Amqp\Pay\PayGoodOrderFinishService;
|
||||||
@@ -52,6 +53,7 @@ class GoodOrderPayFinishConsumer extends ConsumerMessage
|
|||||||
|
|
||||||
$service->orderNo = $data['order_sno'];
|
$service->orderNo = $data['order_sno'];
|
||||||
$service->payType = (int)$data['pay_type'];
|
$service->payType = (int)$data['pay_type'];
|
||||||
|
$service->orderType = OrderCode::ORDER_TYPE_GOOD;
|
||||||
|
|
||||||
$service->handle();
|
$service->handle();
|
||||||
} catch (Exception|ErrException $e) {
|
} catch (Exception|ErrException $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user