@@ -43,6 +43,12 @@ class NotifyClass extends BaseClass
'page' => '/pagesOrder/refundDetail?id=' . $id,
];
self::add($data);
+ $notifyNum = $staff->notifyNum ?? 0;
+ if ($notifyNum < 9) {
+ $notifyNum++;
+ }
+ $staff->notifyNum = $notifyNum;
+ $staff->save();
}