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
cfa163c79c
commit
a8ad0d32c2
@ -290,7 +290,7 @@ abstract class PaymentService
|
||||
if (empty($data['payment_type'])) unset($data['payment_type']);
|
||||
$this->app->db->name('ShopOrder')->where($map)->update($data);
|
||||
// 触发订单更新事件
|
||||
if ($status === 4) {
|
||||
if (in_array($status, [4, 5])) {
|
||||
$this->app->event->trigger('ShopOrderPayment', $orderNo);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user