shish 2 년 전
부모
커밋
0ab0b56428
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      app-ghs/controllers/TestController.php
  2. 2 1
      common/components/printUtil.php

+ 2 - 2
app-ghs/controllers/TestController.php

@@ -192,8 +192,8 @@ class TestController extends BaseController
             //['name' => '花优田(军兴旺)', 'merchantNo' => '8227310599200GX', 'wx' => [605191281, 605190492], 'zfb' => '2088920588715249'],
             ['name' => '肇庆兄弟鲜花', 'merchantNo' => '82259305992001V', 'wx' => [628299301, 628297384], 'zfb' => '2088930936937722'],
             //['name' => '郑州唯一鲜花', 'merchantNo' => '8224910599200NB', 'wx' => [624877731, 624877902], 'zfb' => '2088830970964611'],
-            ['name' => '昆明期待鲜花', 'merchantNo' => '8227310599200J6', 'wx' => [615582300, 615582180], 'zfb' => '2088530113958388'],
-            ['name' => '厦门遇见你', 'merchantNo' => '82239305992008D', 'wx' => [614782373, 614783346], 'zfb' => '2088430828233036'],
+            //['name' => '昆明期待鲜花', 'merchantNo' => '8227310599200J6', 'wx' => [615582300, 615582180], 'zfb' => '2088530113958388'],
+            //['name' => '厦门遇见你', 'merchantNo' => '82239305992008D', 'wx' => [614782373, 614783346], 'zfb' => '2088430828233036'],
             //['name' => '淄博花超鲜花批发', 'merchantNo' => '82245305992001R', 'wx' => [614685779, 614682986], 'zfb' => '2088430805221810'],
             //['name' => '广州国恋', 'merchantNo' => '8225810599200Q7', 'wx' => [612321716, 612320978], 'zfb' => '2088330479975012'],
             //['name' => '欣研鲜花', 'merchantNo' => '82260305992001Y', 'wx' => [612181234, 612181615], 'zfb' => '2088330365608286'],

+ 2 - 1
common/components/printUtil.php

@@ -69,9 +69,10 @@ class printUtil
             $arr = json_decode($result, true);
             if (isset($arr['ret']) && $arr['ret'] == 1001) {
                 $msg = $arr['msg'] ?? '';
-                noticeUtil::push('有订单打印报错了!!请注意查看,报错内容:' . $msg, '15280215347');
+                $sjName = $shop->merchantName ?? '';
                 $mainId = $shop->mainId ?? 0;
                 $shopName = $shop->shopName ?? '';
+                noticeUtil::push($sjName . ' ' . $shopName . '有订单打印未成功,报错内容:' . $msg, '15280215347');
                 $staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId], null, '*', null, true);
                 if (!empty($staffList)) {
                     foreach ($staffList as $staff) {