|
|
@@ -493,6 +493,10 @@ class OrderClass extends BaseClass
|
|
|
if ($order->forward == 0) { //0 常规订单
|
|
|
$myCustom->recentExpend = date("Y-m-d H:i:s");
|
|
|
$myCustom->visitTime = date("Y-m-d H:i:s");
|
|
|
+ $shopExt = \bizHd\shop\classes\ShopExtClass::getByCondition(['shopId' => $order->shopId], false, false, 'reachVip');
|
|
|
+ if ($shopExt['reachVip'] > 0 && $payWay == dict::getDict('payWay', 'balancePay')) {
|
|
|
+ $myCustom->recordGrowthAndIntegral = false;
|
|
|
+ }
|
|
|
$myCustom->buyAmount = bcadd($myCustom->buyAmount, $order->realPrice, 2);
|
|
|
$myCustom->eventRemark = trim($eventPrefix . '下单' . $orderSnText);
|
|
|
} elseif ($order->forward == 1) { //1 售后付款单(红冲)
|