Browse Source

feat(order): 添加1688订单免密支付功能

- 在订单分账流程完成后集成免密支付接口调用
- 新增OrderService实例化并执行支付成功逻辑
- 处理批量订单的免密支付状态更新
shichen 3 months ago
parent
commit
49435c8559
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/common/repositories/store/order/StoreGroupOrderRepository.php

+ 4 - 0
app/common/repositories/store/order/StoreGroupOrderRepository.php

@@ -1037,6 +1037,10 @@ class StoreGroupOrderRepository extends BaseRepository
1037 1037
 
1038 1038
         // 9、订单 分账 将收入的现金 商户部分 发放给 商户
1039 1039
         $storeOrderRepository->independentAccountByOrderIdList(array_column($storeOrderEntityList, 'orderId'));
1040
+
1041
+        // 10、 1688订单调用免密支付接口
1042
+        $aliOrderService = new OrderService();
1043
+        $aliOrderService->paySuccess($storeOrderEntityList);
1040 1044
     }
1041 1045
 
1042 1046
     /**