退款退货的订单确认退款时修改订单状态

This commit is contained in:
evoxwht 2023-03-23 15:26:57 +08:00
parent 3c6a182c50
commit a60bfd6c1f

View File

@ -146,7 +146,7 @@ class RefundOrder extends AuthController
return app('json')->fail(400144);
}
if ($data['type'] == 1) {
if ($data['type'] == 1 || $data['type'] == 5) {
$data['refund_type'] = 6;
} else if ($data['type'] == 2) {
$data['refund_type'] = 3;