gorden vor 1 Monat
Ursprung
Commit
4ec4be72e9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/admin/controller/order/KangyangCityController.php

+ 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);