|
|
@@ -241,7 +241,7 @@ class ShopExtClass extends BaseClass
|
|
|
if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
|
|
|
$actPrice = floatval($order->actPrice) ?? 0;
|
|
|
$payWay = $order->payWay ?? dict::getDict('payWay', 'wxPay');
|
|
|
- $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "微信收款{$actPrice}元" : "支付宝收款{$actPrice}元";
|
|
|
+ $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "花掌柜收款{$actPrice}元" : "花掌柜收款{$actPrice}元";
|
|
|
$url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version={$shopExt->lbVersion}&message=" . $sound;
|
|
|
$curl = new curl\Curl();
|
|
|
$curl->get($url);
|
|
|
@@ -299,7 +299,7 @@ class ShopExtClass extends BaseClass
|
|
|
if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
|
|
|
$actPrice = $order->mainPay ? floatval($order->mainPay) : 0;
|
|
|
$payWay = $order->payWay ?? dict::getDict('payWay', 'wxPay');
|
|
|
- $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "微信收款{$actPrice}元,谢谢惠顾,欢迎下次光临" : "支付宝收款{$actPrice}元,谢谢惠顾,欢迎下次光临";
|
|
|
+ $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "花掌柜收款{$actPrice}元,谢谢惠顾,欢迎下次光临" : "花掌柜收款{$actPrice}元,谢谢惠顾,欢迎下次光临";
|
|
|
$url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version={$shopExt->lbVersion}&message=" . $sound;
|
|
|
$curl = new curl\Curl();
|
|
|
$curl->get($url);
|
|
|
@@ -326,7 +326,7 @@ class ShopExtClass extends BaseClass
|
|
|
if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
|
|
|
$actPrice = $order->actPrice ? floatval($order->actPrice) : 0;
|
|
|
$payWay = $order->payWay ?? dict::getDict('payWay', 'wxPay');
|
|
|
- $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "微信收款{$actPrice}元,谢谢惠顾,欢迎下次光临" : "支付宝收款{$actPrice}元,谢谢惠顾,欢迎下次光临";
|
|
|
+ $sound = $payWay == dict::getDict('payWay', 'wxPay') ? "花掌柜收款{$actPrice}元,谢谢惠顾,欢迎下次光临" : "花掌柜收款{$actPrice}元,谢谢惠顾,欢迎下次光临";
|
|
|
$url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version={$shopExt->lbVersion}&message=" . $sound;
|
|
|
$curl = new curl\Curl();
|
|
|
$curl->get($url);
|