|
|
@@ -120,7 +120,7 @@ class ShopExtClass extends BaseClass
|
|
|
$shopId = $order->shopId ?? 0;
|
|
|
$shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
|
|
|
- $actPrice = floatval($order->actPrice) ?? 0;
|
|
|
+ $actPrice = $order->mainPay ? floatval($order->mainPay) : 0;
|
|
|
$payWay = $order->payWay ?? dict::getDict('payWay', 'wxPay');
|
|
|
$sound = $payWay == dict::getDict('payWay', 'wxPay') ? "微信收款{$actPrice}元" : "支付宝收款{$actPrice}元";
|
|
|
$url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version=3&message=" . $sound;
|