wupengfei 2 years ago
parent
commit
ca38201639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      addons/shopro/library/traits/model/order/OrderOper.php

+ 1 - 1
addons/shopro/library/traits/model/order/OrderOper.php

@@ -391,7 +391,7 @@ trait OrderOper
                 'activity_type' => $activity_type,
                 'activity_type' => $activity_type,
                 'new_goods_list' => $new_goods_list
                 'new_goods_list' => $new_goods_list
             ];
             ];
-          //  \think\Hook::listen('order_create_after', $data);
+            \think\Hook::listen('order_create_after', $data);
 
 
             // 重新获取订单
             // 重新获取订单
             $order = self::where('id', $order['id'])->find();
             $order = self::where('id', $order['id'])->find();