修改回调逻辑
This commit is contained in:
parent
fab1cb9b3b
commit
677eaf781d
@ -105,7 +105,11 @@ class PayNotifyLogic extends BaseLogic
|
||||
}
|
||||
self::afterPay($order);
|
||||
if($order['reservation'] == 1&& in_array($order['shipping_type'],[1,2])){
|
||||
self::dealGoodsLeft($order['cart_id'],$order['uid'],$order['id']);
|
||||
$checkArr =[
|
||||
'cart_id'=>$order['cart_id'],
|
||||
'store_id'=>$order['store_id'],
|
||||
];
|
||||
self::dealGoodsLeft($checkArr,$order['uid'],$order['id']);
|
||||
}
|
||||
if ($extra && $extra['store_id']) {
|
||||
$params = [
|
||||
@ -219,7 +223,11 @@ class PayNotifyLogic extends BaseLogic
|
||||
}
|
||||
self::dealProductLog($order);
|
||||
if($order['reservation'] == 1&& in_array($order['shipping_type'],[1,2])){
|
||||
self::dealGoodsLeft($order['cart_id'],$order['uid'],$order['id']);
|
||||
$checkArr =[
|
||||
'cart_id'=>$order['cart_id'],
|
||||
'store_id'=>$order['store_id'],
|
||||
];
|
||||
self::dealGoodsLeft($checkArr,$order['uid'],$order['id']);
|
||||
}
|
||||
|
||||
// $count = UserSign::where([
|
||||
@ -413,7 +421,11 @@ class PayNotifyLogic extends BaseLogic
|
||||
}
|
||||
$order->save();
|
||||
if($order['reservation'] == 1&& in_array($order['shipping_type'],[1,2])){
|
||||
self::dealGoodsLeft($order['cart_id'],$order['uid'],$order['id']);
|
||||
$checkArr =[
|
||||
'cart_id'=>$order['cart_id'],
|
||||
'store_id'=>$order['store_id'],
|
||||
];
|
||||
self::dealGoodsLeft($checkArr,$order['uid'],$order['id']);
|
||||
}
|
||||
self::afterPay($order, $extra['transaction_id']);
|
||||
// self::addUserSing($order);
|
||||
|
Loading…
x
Reference in New Issue
Block a user