Browse Source

打印通知

shish 2 years ago
parent
commit
6ef747149e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      common/components/printUtil.php

+ 4 - 4
common/components/printUtil.php

@@ -72,7 +72,7 @@ class printUtil
                 $sjName = $shop->merchantName ?? '';
                 $mainId = $shop->mainId ?? 0;
                 $shopName = $shop->shopName ?? '';
-                //noticeUtil::push($sjName . $shopName . " 出现订单打印未成功,订单号:{$orderSn},原因:" . $msg, '15280215347');
+                noticeUtil::push($sjName . $shopName . " 出现订单打印未成功,订单号:{$orderSn},原因:" . $msg, '15280215347');
                 $staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId], null, '*', null, true);
                 if (!empty($staffList)) {
                     foreach ($staffList as $staff) {
@@ -80,9 +80,9 @@ class printUtil
                         $isPt = $staff->isPt ?? 0;
                         $delStatus = $staff->delStatus ?? 0;
                         if ($isPt == 0 && $remind == 1 && $delStatus == 0) {
-                            //$mobile = $staff->mobile ?? '';
-                            //sms::send($mobile . ',' . $shopName, '请注意,您有一个订单花材很多,小票没有打出来。门店:{$var}');
-                            //noticeUtil::push('已经通知手机号:' . $mobile, '15280215347');
+//                            $mobile = $staff->mobile ?? '';
+//                            sms::send($mobile . ',' . $shopName, '请注意,您有一个订单花材很多,小票没有打出来。门店:{$var}');
+//                            noticeUtil::push('已经通知手机号:' . $mobile, '15280215347');
                         }
                     }
                 }