简化开放下单幂等参数
This commit is contained in:
@@ -425,7 +425,7 @@ app_key=ak_xxx&body_sha256=<实际请求 body 字节的 SHA256 十六进制>&met
|
||||
<li>POST 签名用的 <Text code>body</Text> 必须与实际发送的 body <b>字节级一致</b>,不要签名后再改空格或字段顺序。</li>
|
||||
<li>value <b>不要</b> URL encode,原样参与拼接。</li>
|
||||
<li>签名失败常见原因:secret 错、path 多了 query、body 与签名不一致、时间戳过期、nonce 重复、参数未按字典序拼接。</li>
|
||||
<li>下单接口还需携带 <Text code>Idempotency-Key</Text>,且必须与 <Text code>client_order_no</Text> 一致。</li>
|
||||
<li>下单幂等直接使用 <Text code>client_order_no</Text>,无需额外 Header。</li>
|
||||
</ul>
|
||||
}
|
||||
/>
|
||||
@@ -495,7 +495,7 @@ function StatusSection() {
|
||||
description={
|
||||
<pre className="api-docs__pre api-docs__pre--plain">{`拿到 sku(商品列表)
|
||||
↓
|
||||
POST /orders 下单(幂等,Idempotency-Key = client_order_no)
|
||||
POST /orders 下单(client_order_no 幂等)
|
||||
↓
|
||||
拿响应里的 order_no 进入发货平台链接
|
||||
↓
|
||||
|
||||
Reference in New Issue
Block a user