feat: 添加订单ID到支付通知逻辑

This commit is contained in:
mkm 2024-06-18 09:53:59 +08:00
parent 7d622b150e
commit 92c20a1570

View File

@ -313,6 +313,7 @@ class PayNotifyLogic extends BaseLogic
if($order['uid']>0){
$sing = [
'uid' => $order['uid'],
'order_id' => $order['order_id'],
'title' => '购买商品获得兑换券',
'store_id' => $order['store_id'],
'number' => bcmul($order['pay_price'], '0.01', 2),
@ -395,12 +396,14 @@ class PayNotifyLogic extends BaseLogic
$sing[] = [
'uid' => $village_uid,
'order_id' => $order['order_id'],
'title' => '村长订单获得兑换券',
'store_id' => $order['store_id'],
'number' => $fees,
];
$sing[] = [
'uid' => $brigade_uid,
'order_id' => $order['order_id'],
'title' => '队长订单获得兑换券',
'store_id' => $order['store_id'],
'number' => $fees,