|
|
@@ -165,6 +165,8 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
$date = date("Y-m-d H:i:s");
|
|
|
$order->payTime = $date;
|
|
|
+ $order->thirdPay = dict::getDict('thirdPay', 'onlineWay');
|
|
|
+ $order->save();
|
|
|
if ($order->fromType == dict::getDict("fromType", "shop")) {
|
|
|
$shopAdminIds = \bizGhs\shop\classes\ShopAdminClass::getRemindAdminIdsByShopId($order->shopId);
|
|
|
if ($shopAdminIds) {
|
|
|
@@ -273,8 +275,8 @@ class OrderClass extends BaseClass
|
|
|
OrderSendClass::withoutSend($order);
|
|
|
}
|
|
|
} else {
|
|
|
- //客户下单增加商家可提现余额
|
|
|
- if (isset($order->customId) && !empty($order->customId)) {
|
|
|
+ //客户在线支付下单增加商家可提现余额
|
|
|
+ if (isset($order->thirdPay) && $order->thirdPay == dict::getDict('thirdPay', 'onlineWay')) {
|
|
|
$amount = $order->actPrice;
|
|
|
ShopClass::customKdAddBalance($shop, $amount, $order, $capitalType);
|
|
|
}
|