|
|
@@ -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);
|