Browse Source

feat: 完善退款处理逻辑与微信退款通知功能

- 在PaymentController中新增refundNotify方法,处理微信退款回调通知。
- 在PaymentService中实现handleRefundNotify方法,更新退款记录和订单状态。
- 优化OrderService中的processCancelRefund方法,确保退款记录的创建顺序和异常处理逻辑的准确性。
- 增强日志记录,确保退款请求和响应的详细信息被准确记录。
- 更新api路由,添加退款回调的路由支持,提升系统对微信退款的处理能力。
景好勇win11 3 months ago
parent
commit
de76242add

+ 50 - 0
doc/系统设计/数据库设计/数据库备份/navicat备份数据库/2025-01-12备份数据库.nbakmysql

@@ -0,0 +1,50 @@
+{
+  "Version": 1.1,
+  "General": {
+    "CloudInstanceName": "",
+    "Project": "",
+    "ProjectOwnerNavicatID": "",
+    "Server": "php",
+    "Host": "192.168.110.85",
+    "Catalog": "",
+    "Schema": "xiaoding_dev",
+    "Comment": "2025-01-12:备份dev数据库",
+    "ServerType": "MYSQL",
+    "SpecifiedFileName": "",
+    "IsLockTable": false,
+    "UseSingleTransaction": false,
+    "UseSpecifiedFileName": false
+  },
+  "Tables": {
+    "SelectAll": true,
+    "Selected": []
+  },
+  "Views": {
+    "SelectAll": true,
+    "Selected": []
+  },
+  "Functions": {
+    "SelectAll": true,
+    "Selected": []
+  },
+  "Events": {
+    "SelectAll": true,
+    "Selected": []
+  },
+  "Sequences": {
+    "SelectAll": false,
+    "Selected": []
+  },
+  "Types": {
+    "SelectAll": false,
+    "Selected": []
+  },
+  "Indexes": {
+    "SelectAll": false,
+    "Selected": []
+  },
+  "Triggers": {
+    "SelectAll": false,
+    "Selected": []
+  }
+}

BIN
doc/系统设计/数据库设计/数据库备份/navicat备份数据库/20250112184141.nb3