gorden 1 mēnesi atpakaļ
vecāks
revīzija
4ec4be72e9

+ 1 - 1
app/admin/controller/order/KangyangCityController.php

@@ -597,7 +597,7 @@ class KangyangCityController extends Curd
             if ($order->order_is_complete == 'Y' && $order->order_status_payment == 'SUCCESS') {
                 Event::dispatch('order.complete', $params);
             }// 触发事件
-            if ($order->order_is_complete == 'Y' && $order->order_status_payment == 'SUCCESS') {
+            if ($paymentStatus == 'SUCCESS') {
                 // 入收支明细表
                 $params['inout_category'] = '购买康养城VIP套餐包收入' . $full;
                 Event::dispatch('statistics.inout.in', $params);