|
|
|
@ -522,16 +522,7 @@ paths:
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
type: object
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: 'components_order.yml#/orderBasic'
|
|
|
|
|
- type: object
|
|
|
|
|
properties:
|
|
|
|
|
channel:
|
|
|
|
|
type: string
|
|
|
|
|
description: channel. case sensitive
|
|
|
|
|
enum:
|
|
|
|
|
- Alipay
|
|
|
|
|
$ref: 'components_order.yml#/orderWithChannel'
|
|
|
|
|
responses:
|
|
|
|
|
200:
|
|
|
|
|
description: Order
|
|
|
|
@ -993,30 +984,22 @@ paths:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: 'components_order.yml#/orderBasic'
|
|
|
|
|
- $ref: 'components_order.yml#/orderWithChannel'
|
|
|
|
|
- type: object
|
|
|
|
|
required:
|
|
|
|
|
- channel
|
|
|
|
|
properties:
|
|
|
|
|
channel:
|
|
|
|
|
type: string
|
|
|
|
|
description: Payment channel, required, case sensitive
|
|
|
|
|
enum:
|
|
|
|
|
- Wechat
|
|
|
|
|
- Alipay
|
|
|
|
|
system:
|
|
|
|
|
type: string
|
|
|
|
|
description: OS type of client app, optional for Alipay, not required for Wechat
|
|
|
|
|
description: OS type of client app, optional for Alipay, required for AlipayPlus, not required for Wechat
|
|
|
|
|
enum:
|
|
|
|
|
- android
|
|
|
|
|
- iphone
|
|
|
|
|
- ipad
|
|
|
|
|
version:
|
|
|
|
|
type: string
|
|
|
|
|
description: client app version, optional for Alipay, not required for Wechat
|
|
|
|
|
description: client app version, optional only for Alipay
|
|
|
|
|
appid:
|
|
|
|
|
type: string
|
|
|
|
|
description: wechat appid, required for Wechat, not required for Alipay
|
|
|
|
|
description: wechat appid, only required for Wechat
|
|
|
|
|
responses:
|
|
|
|
|
200:
|
|
|
|
|
description: Order
|
|
|
|
|