更新支付成功handle
This commit is contained in:
parent
eeecb63b99
commit
25f36ba278
@ -38,6 +38,12 @@ class paySuccessOrder
|
||||
if (!$merchant || $merchant['street_id'] == 0) {
|
||||
throw new \Exception('商户地址不存在', 200);
|
||||
}
|
||||
|
||||
//发起物流信息返回快递员手机
|
||||
$logisticsPhone = $this->sendLogistics($this->event['order']['order_id'], $this->event['order']['order_sn']);
|
||||
//生成用户的收货码
|
||||
$this->generateLogisticsCode($this->event['order']['uid'], $this->event['order']['order_id'], $this->event['order']['order_sn'], $logisticsPhone);
|
||||
|
||||
$this->streetId = $merchant['street_id'];
|
||||
|
||||
$commission_rate = ($event['order']['commission_rate'] / 100);
|
||||
@ -137,10 +143,6 @@ class paySuccessOrder
|
||||
Log::error('订单分润出错', ['code' => $e->getCode(), 'message' => $e->getMessage(), 'trace' => $e->getTraceAsString()]);
|
||||
DingTalk::exception($e, '订单分润出错');
|
||||
}
|
||||
//发起物流信息返回快递员手机
|
||||
$logisticsPhone = $this->sendLogistics($this->event['order']['order_id'], $this->event['order']['order_sn']);
|
||||
//生成用户的收货码
|
||||
$this->generateLogisticsCode($this->event['order']['uid'], $this->event['order']['order_id'], $this->event['order']['order_sn'], $logisticsPhone);
|
||||
}
|
||||
|
||||
//用户收货码
|
||||
|
Loading…
x
Reference in New Issue
Block a user