gengxin执行顺序
This commit is contained in:
parent
093e03205c
commit
4f7fea8273
@ -654,6 +654,11 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
bcscale(2);
|
bcscale(2);
|
||||||
// $user->now_money = bcadd($user->now_money, $price, 2);//v.1
|
// $user->now_money = bcadd($user->now_money, $price, 2);//v.1
|
||||||
|
$check = UserSign::where(['uid'=>$order->uid,'type'=>1])->count();
|
||||||
|
if(empty($check) && $user['user_ship'] == 0){
|
||||||
|
self::dealRechargeFrozen($order);
|
||||||
|
|
||||||
|
}
|
||||||
//更新等级
|
//更新等级
|
||||||
$user->user_ship = $order['user_ship'];
|
$user->user_ship = $order['user_ship'];
|
||||||
|
|
||||||
@ -663,11 +668,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
if($order['other_uid']>0){
|
if($order['other_uid']>0){
|
||||||
$uid=$order['other_uid'];
|
$uid=$order['other_uid'];
|
||||||
}
|
}
|
||||||
$check = UserSign::where(['uid'=>$order->uid,'type'=>1])->count();
|
|
||||||
if(empty($check) && $user['user_ship'] == 0){
|
|
||||||
self::dealRechargeFrozen($order);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
PushService::push('wechat_mmp_' . $uid, $uid, ['type'=>'INDUSTRYMEMBERS','msg'=>'订单支付成功','data'=>['id'=>$order['id'],'paid'=>1]]);
|
PushService::push('wechat_mmp_' . $uid, $uid, ['type'=>'INDUSTRYMEMBERS','msg'=>'订单支付成功','data'=>['id'=>$order['id'],'paid'=>1]]);
|
||||||
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type'=>'INDUSTRYMEMBERS','msg'=>'订单支付成功','data'=>['id'=>$order['id'],'paid'=>1]]);
|
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type'=>'INDUSTRYMEMBERS','msg'=>'订单支付成功','data'=>['id'=>$order['id'],'paid'=>1]]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user