Explorar o código

fix(order): 修复子订单号参数传递问题

- 修改 orderEntryIds 参数格式为数组形式以支持多个子订单号
- 确保参数正确传递给业务逻辑层进行后续处理
shichen hai 2 meses
pai
achega
5e1bbe327b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/services/ThirdParty/AlibabaAgent/OrderService.php

+ 1 - 1
app/services/ThirdParty/AlibabaAgent/OrderService.php

@@ -554,7 +554,7 @@ class OrderService extends AlibabaAgentBaseService
554 554
 
555 555
         // 子订单号
556 556
         if (!empty($params['orderEntryIds'])) {
557
-            $businessParams['orderEntryIds'] = (string)$params['orderEntryIds'];
557
+            $businessParams['orderEntryIds'][] = (string)$params['orderEntryIds'];
558 558
         }
559 559
 
560 560
         // 货物状态