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