From f1f5b8a6bc696315911c3a7e6a1ff612a409c465 Mon Sep 17 00:00:00 2001 From: tk Date: Wed, 7 Aug 2024 12:38:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E5=AE=8C=E6=88=90=E9=80=80=E6=AC=BE=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=AD=97=E6=AE=B5=E5=90=8D=20=E7=94=B1refund=5Ftime?= =?UTF-8?q?=20=E6=94=B9=E4=B8=BArefunded=5Ftime=20=E3=80=90=E5=8E=9F=20=20?= =?UTF-8?q?=E5=9B=A0=E3=80=91=EF=BC=9A=E6=95=B0=E6=8D=AE=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=A4=9A=E4=B8=AA=20=E8=AE=A2=E5=8D=95=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=97=B6=E9=97=B4=20=E5=AD=97=E6=AE=B5=E6=94=B9?= =?UTF-8?q?=E5=90=8D=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- FlyCube/MpApi/Controller/PayController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];