|
|
|
@ -338,7 +338,7 @@ class PaySuccess extends BaseService |
|
|
|
|
private function lockUp() |
|
|
|
|
{ |
|
|
|
|
$orderInfo = $this->getOrderInfo(); |
|
|
|
|
Lock::lockUp("OrderPaySuccess_{$orderInfo['order_id']}"); |
|
|
|
|
Lock::lockUp("IdentityOrderPaySuccess_{$orderInfo['order_id']}"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -348,7 +348,7 @@ class PaySuccess extends BaseService |
|
|
|
|
private function unLock() |
|
|
|
|
{ |
|
|
|
|
$orderInfo = $this->getOrderInfo(); |
|
|
|
|
Lock::unLock("OrderPaySuccess_{$orderInfo['order_id']}"); |
|
|
|
|
Lock::unLock("IdentityOrderPaySuccess_{$orderInfo['order_id']}"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -396,6 +396,7 @@ class PaySuccess extends BaseService |
|
|
|
|
User::add($userInfo['user_id'], [ |
|
|
|
|
'real_name' => $mobile, |
|
|
|
|
'mobile' => $mobile, |
|
|
|
|
'store_id' => $userInfo['store_id'] ?? 0, |
|
|
|
|
]); |
|
|
|
|
} else { |
|
|
|
|
//更新分销用户 |
|
|
|
|