Browse Source

清空核销码

develop
李可松 4 years ago
parent
commit
7b8d5a99d6
  1. 2
      app/AdminAgent/Extensions/Grid/AuditRefund.php

2
app/AdminAgent/Extensions/Grid/AuditRefund.php

@ -51,6 +51,7 @@ class AuditRefund extends RowAction
if (!$order) { if (!$order) {
return $this->response()->error("退款订单不存在或已处理过了")->refresh(); return $this->response()->error("退款订单不存在或已处理过了")->refresh();
} }
$order->verify_code = ''; //清空核销码
$order->status = OrderStatus::REFUNDED; $order->status = OrderStatus::REFUNDED;
$order->save(); $order->save();
@ -98,7 +99,6 @@ class AuditRefund extends RowAction
} }
} }
DB::commit(); DB::commit();
return $this->response()->success("操作成功,款项将原路退还")->refresh(); return $this->response()->success("操作成功,款项将原路退还")->refresh();
} catch (\Exception $e) { } catch (\Exception $e) {

Loading…
Cancel
Save