shish 5 лет назад
Родитель
Сommit
41f80e527d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      console/controllers/PurchaseController.php

+ 2 - 2
console/controllers/PurchaseController.php

@@ -43,12 +43,12 @@ class PurchaseController extends Controller
                     PurchaseService::expire($current);
                     $transaction->commit();
 
-                    noticeUtil::push("【成功】采购单过期,库存已回滚 orderSn:{$orderSn}", '15280215347');
+                    noticeUtil::push("采购单过期,库存已回滚 orderSn:{$orderSn}", '15280215347');
 
                 } catch (\Exception $e) {
                     $transaction->rollBack();
                     $msg = $e->getMessage();
-                    noticeUtil::push("【报错】采购单过期处理,orderSn:{$orderSn},错误信息:{$msg}", '15280215347');
+                    noticeUtil::push("采购单过期处理报错了!orderSn:{$orderSn},错误信息:{$msg}", '15280215347');
                 }
 
                 $log = "过期的采购单:{$id} json:" . json_encode($purchase);