Skip to content

Commit

Permalink
添加分账功能版本要求说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzeshuan committed May 11, 2020
1 parent d28a986 commit 1ca76c1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloud-function/node-sdk/alipay-profit-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Receiver 类型包括以下几个属性:

# 支付宝商家分账

{{ profitSharing.versionWarning() }}

对某一订单进行分账,请查看[订单操作文档](/cloud-function/node-sdk/order.html#支付宝商家分账)

## 添加分账接收方
Expand Down
6 changes: 6 additions & 0 deletions cloud-function/node-sdk/macro/profit-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ ReceiverType 可选值说明:
> 请发工单联系客服,不要重复调用接口,否则可能造成资金损失。(详见[微信官方文档](https://pay.weixin.qq.com/wiki/doc/api/allocation.php?chapter=27_1&index=1) 中错误码列表)
{% endmacro %}


{% macro versionWarning() %}
> **info**
> 分账功能仅商用版及商用版以上版本可以使用。
{% endmacro %}

{% macro receiverTypeAlipay() %}
ReceiverType 可选值说明:

Expand Down
2 changes: 2 additions & 0 deletions cloud-function/node-sdk/wechat-profit-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# 微信直连商户分账

{{ profitSharing.versionWarning() }}

对某一订单进行分账,请查看[订单操作文档](/cloud-function/node-sdk/order.html#微信直连商户分账)

## 添加分账接收方
Expand Down
6 changes: 6 additions & 0 deletions js-sdk/payment/frag/_pay.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% import "/cloud-function/node-sdk/macro/profit-sharing.md" as profitSharing %}

<!-- ex_nonav -->
{% if apiPrefix == 'wx' %}
{% set platformName = "微信" %}
Expand Down Expand Up @@ -43,6 +45,10 @@
| merchandiseRecordID | String | N | 商品数据行 ID,可用于定位用户购买的物品 |
| merchandiseSnapshot | Object | N | 根据业务需求自定义的数据 |
| profitSharing | Boolean | N | 当前订单是否需要分账。分账操作,请查看[微信直连商户分账](/cloud-function/node-sdk/order.html#微信直连商户分账) |

{{ profitSharing.versionWarning() }}
<!-- 分隔两个 info -->

{% elif apiPrefix == 'tt' %}
| 参数 | 类型 | 必填 | 参数描述 |
| :--------------------- | :------ | :-- | :------ |
Expand Down

0 comments on commit 1ca76c1

Please sign in to comment.