...
|
...
|
@@ -22,8 +22,8 @@ teststeps: |
|
|
api: api/m_api/dividends/m_dividends_detail_api.yml
|
|
|
validate:
|
|
|
- eq:
|
|
|
- content.data.order.id
|
|
|
- ${convert_to_string($actual_id)}
|
|
|
- content.data.order.orderId
|
|
|
- $actual_id
|
|
|
#####合伙人应收分红总额
|
|
|
- eq:
|
|
|
- content.data.order.partnerDividends
|
...
|
...
|
@@ -39,34 +39,34 @@ teststeps: |
|
|
#####合伙人分红支出总额
|
|
|
- eq:
|
|
|
- content.data.order.dividendSpending
|
|
|
- 0
|
|
|
- ${convert_to_string(0)}
|
|
|
#####订单类型
|
|
|
- eq:
|
|
|
- content.data.order.orderType
|
|
|
- 1
|
|
|
#####产品1总金额
|
|
|
- eq:
|
|
|
- content.data.product.0.detail.commodityPrice
|
|
|
- content.data.product.detail.0.commodityPrice
|
|
|
- ${convert_to_string(1500)}
|
|
|
#####产品1应收分红
|
|
|
- eq:
|
|
|
- content.data.product.0.detail.partnerDividends
|
|
|
- content.data.product.detail.0.partnerDividends
|
|
|
- ${cal_Ratio($partnerRatio, $univalence, $orderNum1)}
|
|
|
#####产品1分红状态
|
|
|
- eq:
|
|
|
- content.data.product.0.paymentStatus
|
|
|
- content.data.product.detail.0.paymentStatus
|
|
|
- 1
|
|
|
#####产品2总金额
|
|
|
- eq:
|
|
|
- content.data.product.1.detail.commodityPrice
|
|
|
- content.data.product.detail.1.commodityPrice
|
|
|
- ${convert_to_string(3000)}
|
|
|
#####产品2应收分红
|
|
|
- eq:
|
|
|
- content.data.product.1.detail.partnerDividends
|
|
|
- content.data.product.detail.1.partnerDividends
|
|
|
- ${cal_Ratio($partnerRatio, $univalence, $orderNum2)}
|
|
|
#####产品2分红状态
|
|
|
- eq:
|
|
|
- content.data.product.1.stateOfPayment
|
|
|
- content.data.product.detail.1.paymentStatus
|
|
|
- 1
|
|
|
#####订单总数量
|
|
|
- eq:
|
...
|
...
|
|