Skip to content

Commit

Permalink
optim v2/*/response:types
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Dec 20, 2024
1 parent f18f06f commit 5102808
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/definitions/query_coupon_stock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ query_coupon_stock.response:
description: 随机字符串
example: '1417574675'
maxLength: 32
sign:
type: string
description: 签名
example: 841B3002FE2220C87A2D08ABD8A8F791
maxLength: 64
result_code:
type: string
description: 业务结果
Expand Down
60 changes: 60 additions & 0 deletions docs/v2/papay/partner/preentrustweb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ post:
type: object
required:
- return_code
- result_code
- appid
- mch_id
- sub_mch_id
- nonce_str
- sign
- pre_entrustweb_id
properties:
return_code:
type: string
Expand All @@ -114,3 +121,56 @@ post:
type: string
description: 返回信息
example: 签名失败
result_code:
type: string
description: 业务结果
example: SUCCESS
maxLength: 16
enum:
- SUCCESS
- FAIL
err_code:
type: string
description: 错误代码
example: SYSTEMERROR
maxLength: 32
nullable: true
err_code_des:
type: string
description: 错误代码描述
example: 系统错误
maxLength: 128
nullable: true
appid:
type: string
description: 请求appid
example: wxcbda96de0b165486
maxLength: 32
mch_id:
type: string
description: 商户号
example: '10000098'
maxLength: 32
sub_appid:
type: string
description: 子商户应用ID
example: wxcbda96de0b165489
sub_mch_id:
type: string
description: 子商户号
example: '1900000109'
nonce_str:
type: string
description: 随机字符串
example: 5K8264ILTKCH16CQ2502SI8ZNMTM67VS
maxLength: 32
sign:
type: string
description: 签名
example: C380BEC2BFD727A4B6845133519F3AD6
maxLength: 32
pre_entrustweb_id:
type: string
description: 预签约id
example: 5778aadY9nltAsZzXixCkFIGYnV2V
maxLength: 128
51 changes: 51 additions & 0 deletions docs/v2/papay/preentrustweb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ post:
type: object
required:
- return_code
- result_code
- appid
- mch_id
- nonce_str
- sign
- pre_entrustweb_id
properties:
return_code:
type: string
Expand All @@ -113,3 +119,48 @@ post:
type: string
description: 返回信息
example: 签名失败
result_code:
type: string
description: 业务结果
example: SUCCESS
maxLength: 16
enum:
- SUCCESS
- FAIL
err_code:
type: string
description: 错误代码
example: SYSTEMERROR
maxLength: 32
nullable: true
err_code_des:
type: string
description: 错误代码描述
example: 系统错误
maxLength: 128
nullable: true
appid:
type: string
description: 请求appid
example: wxcbda96de0b165486
maxLength: 32
mch_id:
type: string
description: 商户号
example: '10000098'
maxLength: 32
nonce_str:
type: string
description: 随机字符串
example: 5K8264ILTKCH16CQ2502SI8ZNMTM67VS
maxLength: 32
sign:
type: string
description: 签名
example: C380BEC2BFD727A4B6845133519F3AD6
maxLength: 32
pre_entrustweb_id:
type: string
description: 预签约id
example: 5778aadY9nltAsZzXixCkFIGYnV2V
maxLength: 128
4 changes: 4 additions & 0 deletions docs/v2/pay/settlementquery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ post:
description: 错误代码描述
example: 系统错误
nullable: true
sign:
type: string
description: 签名
example: 5K8264ILTKCH16CQ2502SI8ZNMTM67VS
record_num:
type: string
description: 返回数据行数
Expand Down
56 changes: 56 additions & 0 deletions docs/v2/wxv/cancelbill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,64 @@ post:
xml:
name: xml
required:
- sign
- nonce_str
- result_code
- appid
- mch_id
- out_order_no
- service_id
- order_id
properties:
sign:
type: string
description: 签名
example: 029B52F67573D7E3BE74904BF9A
maxLength: 128
nonce_str:
type: string
description: 随机字符串
example: ibuaiVcKdpRxkhJA
maxLength: 32
result_code:
type: string
description: 业务结果
example: SUCCESS
maxLength: 16
enum:
- SUCCESS
- FAIL
err_code:
type: string
description: 错误代码
example: SYSTEMERROR
maxLength: 32
nullable: true
err_code_des:
type: string
description: 错误描述
example: 系统错误
maxLength: 128
nullable: true
appid:
type: string
description: 公众账号ID
example: wxd678efh567hg6787
maxLength: 32
mch_id:
type: string
description: 商户号
example: '1230000109'
maxLength: 32
out_order_no:
type: string
description: 商户服务订单号
example: 1234323JKHDFE1243252
maxLength: 32
service_id:
type: string
description: 服务ID
maxLength: 32
order_id:
type: string
description: 微信支付服务订单号
Expand Down

0 comments on commit 5102808

Please sign in to comment.