# 设计:虚拟发货 ## 架构 - 回调 → 权益发放 → 上传虚拟发货 → 用户确认 → 结算。 ## 接口 - 上传:`POST /wxa/sec/order/upload_shipping_info?access_token=...` - 跳转:`POST /wxa/sec/order/set_msg_jump_path?access_token=...` - 组件:`wx.openBusinessView({ businessType: 'weappOrderConfirm' })` ## 数据映射 - `order_key.order_number_type=2` 使用 `transaction_id`。 - `logistics_type=3`;`delivery_mode=1`;`shipping_list=[{ item_desc }]`。 ## 异常与幂等 - 以 `transaction_id` 唯一;成功后不重复上传;错误留痕与重试。