Commit c90c2d9e by 朱继来

调整确认退款

parent e54aa5b2
Showing with 5 additions and 1 deletions
......@@ -468,7 +468,11 @@ class ApiController extends Controller
$OrderRefundModel = new OrderRefundModel;
$OrderRefundLogModel = new OrderRefundLogModel;
$res = $OrderServiceModel->where('id', $id)->update(['refund_status' => 3]);
$update_service = [];
$update_service['refund_status'] = 3;
$update_service['update_time'] = time();
$res = $OrderServiceModel->where('id', $id)->update($update_service);
if ($res === false) $this->Export(-1, '更新售后退款状态失败');
$update = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment