quguofeng 2 yıl önce
ebeveyn
işleme
cd30ff87cb

+ 2 - 0
app/common/repositories/store/order/StoreOrderRepository.php

@@ -742,6 +742,8 @@ class StoreOrderRepository extends BaseRepository
             $this->takeAfter($order, $user);
             $order->save();
         });
+        //折扣比超出返利红包米
+        $this->grant($order,$user);
         event('order.take', compact('order'));
     }
     //超过应付尾款折扣比,以红包米的形式发放