修改处理回调
This commit is contained in:
parent
a2b6431813
commit
7d775aa4bf
@ -206,7 +206,14 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
OrderLogic::writeOff($params);
|
OrderLogic::writeOff($params);
|
||||||
}
|
}
|
||||||
self::dealProductLog($order);
|
self::dealProductLog($order);
|
||||||
|
$count = UserSign::where([
|
||||||
|
'uid'=>$order['uid'],
|
||||||
|
'type'=>1,
|
||||||
|
'status'=>0
|
||||||
|
])->count();
|
||||||
|
if($count){
|
||||||
self::addFlowLog($order);
|
self::addFlowLog($order);
|
||||||
|
}
|
||||||
// if($order['shipping_type'] == 3){
|
// if($order['shipping_type'] == 3){
|
||||||
// self::descStock($order['id']);
|
// self::descStock($order['id']);
|
||||||
// }
|
// }
|
||||||
@ -245,7 +252,6 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
'order_id' => $order['order_id'],
|
'order_id' => $order['order_id'],
|
||||||
'title' => '充值获得冻结兑换券',
|
'title' => '充值获得冻结兑换券',
|
||||||
'financial_pm' => 1,
|
'financial_pm' => 1,
|
||||||
'store_id' => $order['store_id'],
|
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -308,7 +314,6 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
'order_id' => $order['order_id'],
|
'order_id' => $order['order_id'],
|
||||||
'title' => '补冻结兑换券',
|
'title' => '补冻结兑换券',
|
||||||
'financial_pm' => 0,
|
'financial_pm' => 0,
|
||||||
'store_id' => $order['store_id'],
|
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
];
|
];
|
||||||
$data['number'] =$check;
|
$data['number'] =$check;
|
||||||
@ -323,7 +328,6 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
'order_id' => $order['order_id'],
|
'order_id' => $order['order_id'],
|
||||||
'title' => '充值获得冻结兑换券',
|
'title' => '充值获得冻结兑换券',
|
||||||
'financial_pm' => 1,
|
'financial_pm' => 1,
|
||||||
'store_id' => $order['store_id'],
|
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
];
|
];
|
||||||
$data['number'] =$check;
|
$data['number'] =$check;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user