|
|
@@ -76,10 +76,12 @@ class ShopExtClass extends BaseClass
|
|
|
if (isset($order->shopAdminId) == false || empty($order->shopAdminId)) {
|
|
|
$lbSn = $order->fromType == 4 ? $shopExt->mtLbSn : $shopExt->makeLbSn;
|
|
|
$lbVersion = $order->fromType == 4 ? $shopExt->mtLbVersion : $shopExt->makeLbVersion;
|
|
|
- $sound = "您有新订单,没有生成制作单";
|
|
|
- $url = "https://speaker.17laimai.cn/notify.php?id={$lbSn}&token=HK1626595800&version={$lbVersion}&message=" . $sound;
|
|
|
- $curl = new curl\Curl();
|
|
|
- $curl->get($url);
|
|
|
+ if (!empty($lbSn)) {
|
|
|
+ $sound = "您有新订单,没有生成制作单";
|
|
|
+ $url = "https://speaker.17laimai.cn/notify.php?id={$lbSn}&token=HK1626595800&version={$lbVersion}&message=" . $sound;
|
|
|
+ $curl = new curl\Curl();
|
|
|
+ $curl->get($url);
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
//散花
|