Sfoglia il codice sorgente

fix(admin): 修复退款订单控制器中的参数名错误

- 将请求参数从 'order_id' 更改为 'alibaba_order_id'
- 确保与前端传递的实际参数名一致
shichen 2 mesi fa
parent
commit
e2f569f7e9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/controller/admin/order/RefundOrder.php

+ 1 - 1
app/controller/admin/order/RefundOrder.php

@@ -74,7 +74,7 @@ class RefundOrder extends BaseController
74 74
      */
75 75
     public function refundReasonList()
76 76
     {
77
-        $orderId = request()->param('order_id');
77
+        $orderId = request()->param('alibaba_order_id');
78 78
 
79 79
         if (empty($orderId)) {
80 80
             return app('json')->fail('订单号不能为空');