fix: reserve stable inbound code for draft label printing
This commit is contained in:
@@ -28,6 +28,23 @@ paths:
|
||||
application/json:
|
||||
schema: {$ref: '#/components/schemas/CargoLabelBindingListEnvelope'}
|
||||
'403': {description: 内部服务令牌无效}
|
||||
/internal/order/v1/cargoes/{tenantId}/{orderId}/printable-inbound-snapshot:
|
||||
post:
|
||||
security: []
|
||||
summary: 为 Firstleg 箱唛打印读取并预留稳定入仓快照
|
||||
description: >-
|
||||
仅接受内部服务令牌。若 AUTO 模式草稿尚无入仓码,则按订单渠道原子预留全局唯一入仓码;
|
||||
并发重放返回已胜出的同一码,后续订单提交继续复用,避免已打印二维码失效。
|
||||
parameters:
|
||||
- name: X-Internal-Service-Token
|
||||
in: header
|
||||
required: true
|
||||
schema: {type: string}
|
||||
- {name: tenantId, in: path, required: true, schema: {type: string, pattern: '^[1-9][0-9]*$'}}
|
||||
- {name: orderId, in: path, required: true, schema: {type: string, pattern: '^[1-9][0-9]*$'}}
|
||||
responses:
|
||||
'200': {description: 返回带稳定入仓码及总箱数的订单快照}
|
||||
'403': {description: 内部服务令牌无效}
|
||||
/internal/order/v1/pending-review-orders:
|
||||
get:
|
||||
security: []
|
||||
|
||||
Reference in New Issue
Block a user