修改处理回调

This commit is contained in:
liu 2024-06-27 18:34:33 +08:00
parent a2b6431813
commit 7d775aa4bf

View File

@ -206,7 +206,14 @@ class PayNotifyLogic extends BaseLogic
OrderLogic::writeOff($params);
}
self::dealProductLog($order);
self::addFlowLog($order);
$count = UserSign::where([
'uid'=>$order['uid'],
'type'=>1,
'status'=>0
])->count();
if($count){
self::addFlowLog($order);
}
// if($order['shipping_type'] == 3){
// self::descStock($order['id']);
// }
@ -245,7 +252,6 @@ class PayNotifyLogic extends BaseLogic
'order_id' => $order['order_id'],
'title' => '充值获得冻结兑换券',
'financial_pm' => 1,
'store_id' => $order['store_id'],
'type' => 1,
];
@ -308,7 +314,6 @@ class PayNotifyLogic extends BaseLogic
'order_id' => $order['order_id'],
'title' => '补冻结兑换券',
'financial_pm' => 0,
'store_id' => $order['store_id'],
'type' => 1,
];
$data['number'] =$check;
@ -323,7 +328,6 @@ class PayNotifyLogic extends BaseLogic
'order_id' => $order['order_id'],
'title' => '充值获得冻结兑换券',
'financial_pm' => 1,
'store_id' => $order['store_id'],
'type' => 1,
];
$data['number'] =$check;