ZxcZxc123 1 rok pred
rodič
commit
f993c7ae77
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/models/store/StoreOrder.php

+ 1 - 1
app/models/store/StoreOrder.php

@@ -784,7 +784,7 @@ class StoreOrder extends BaseModel
         event('OrderPaySuccess', [$order, $formId]);
         $res = $res1 && $resPink && UserSpread::setSpreadSure($order['uid']) && User::backOrderBrokerage($order);
         $res = $res && self::sendAward($order);
-        if ($order['is_best']     //这个订单是报单的
+        if ($order['store_order']     //这个订单是报单的
         ) {
             $res = $res && self::set_parent($order['uid'], $order['total_price']);
         }