|
|
@@ -129,6 +129,13 @@ class RefundController extends BaseController
|
|
|
RefundOrderService::passRefund($refund);
|
|
|
$transaction->commit();
|
|
|
|
|
|
+ $staff = $this->shopAdmin;
|
|
|
+ $staffId = $staff->id;
|
|
|
+ $staffName = $staff->name ?? '';
|
|
|
+ $refund->shopAdminId = $staffId;
|
|
|
+ $refund->shopAdminName = $staffName;
|
|
|
+ $refund->save();
|
|
|
+
|
|
|
//审核结果通知
|
|
|
$cgRefundId = $refund->cgRefundId ?? 0;
|
|
|
$cgRefund = CgRefundClass::getById($cgRefundId, true);
|
|
|
@@ -167,6 +174,13 @@ class RefundController extends BaseController
|
|
|
RefundOrderClass::rejectRefund($refund, $rejectReason);
|
|
|
$transaction->commit();
|
|
|
|
|
|
+ $staff = $this->shopAdmin;
|
|
|
+ $staffId = $staff->id;
|
|
|
+ $staffName = $staff->name ?? '';
|
|
|
+ $refund->shopAdminId = $staffId;
|
|
|
+ $refund->shopAdminName = $staffName;
|
|
|
+ $refund->save();
|
|
|
+
|
|
|
//审核结果通知
|
|
|
$cgRefundId = $refund->cgRefundId ?? 0;
|
|
|
$cgRefund = CgRefundClass::getById($cgRefundId, true);
|