diff --git a/FlyCube/MpApi/Controller/PayController.class.php b/FlyCube/MpApi/Controller/PayController.class.php index 6005784..ad6bf8f 100644 --- a/FlyCube/MpApi/Controller/PayController.class.php +++ b/FlyCube/MpApi/Controller/PayController.class.php @@ -120,7 +120,7 @@ class PayController extends PublicController $where['order_sn'] = $result['resource']['ciphertext']['out_trade_no']; // 获取订单号 $orderDb = D('order'); // 实例化订单模型 $data['main_status'] = "已退款"; // 更新订单状态为已退款 - $data['refund_time'] = time(); // 标记退款时间 + $data['refunded_time'] = time(); // 标记退款时间 $data['refund_sn'] = $result['resource']['ciphertext']['refund_id']; // 退款单号 $data['refund_price'] = $result['resource']['ciphertext']['amount']['refund'] / 100; // 退款金额,单位:元 $outRefundNo = $result['resource']['ciphertext']['out_refund_no'];