From 7fa1daad92df07d7eb3879479ad716f4ab7abd18 Mon Sep 17 00:00:00 2001 From: yixian Date: Wed, 3 Mar 2021 17:41:24 +0800 Subject: [PATCH] add alipayplus params --- src/document/openapi/cn/document.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/document/openapi/cn/document.yml b/src/document/openapi/cn/document.yml index 9bfebcf40..d00778a0d 100644 --- a/src/document/openapi/cn/document.yml +++ b/src/document/openapi/cn/document.yml @@ -851,7 +851,16 @@ paths: content: application/json: schema: - $ref: 'components_order.yml#/orderBasic' + allOf: + - $ref: 'components_order.yml#/orderBasic' + - type: object + properties: + channel: + type: string + description: 支付渠道,默认为Alipay + enum: + - Alipay + - AlipayPlus responses: 200: description: Order @@ -862,12 +871,6 @@ paths: - $ref: 'components_order.yml#/orderBasicResponse' - type: object properties: - channel: - type: string - description: 支付渠道,默认为Alipay - enum: - - Alipay - - AlipayPlus pay_url: type: string description: 收银台URL,加签后传递给前端并跳转至当前URL,让消费者完成支付