mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update PaymentService.php
This commit is contained in:
parent
600b12495d
commit
e8ec5a846d
@ -288,7 +288,9 @@ abstract class PaymentService
|
|||||||
if (empty($data['payment_type'])) unset($data['payment_type']);
|
if (empty($data['payment_type'])) unset($data['payment_type']);
|
||||||
$this->app->db->name('ShopOrder')->where($map)->update($data);
|
$this->app->db->name('ShopOrder')->where($map)->update($data);
|
||||||
// 触发订单更新事件
|
// 触发订单更新事件
|
||||||
$this->app->event->trigger('ShopOrderPayment', $orderNo);
|
if ($status === 4) {
|
||||||
|
$this->app->event->trigger('ShopOrderPayment', $orderNo);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user