Skip to content

Commit

Permalink
typo v2:sign_type
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Dec 24, 2024
1 parent 77e3deb commit ba60090
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/definitions/getviolation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ getviolation.request:
type: string
maxLength: 32
example: HMAC-SHA256
enum:
- HMAC-SHA256
begin_time:
description: 开始时间
type: string
Expand Down
2 changes: 2 additions & 0 deletions docs/definitions/queryautowithdrawbydate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ queryautowithdrawbydate.response:
example: HMAC-SHA256
maxLength: 32
nullable: true
enum:
- HMAC-SHA256
sign:
type: string
description: 签名
Expand Down
2 changes: 2 additions & 0 deletions docs/definitions/reautowithdrawbydate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ reautowithdrawbydate.response:
example: HMAC-SHA256
maxLength: 32
nullable: true
enum:
- HMAC-SHA256
sign:
type: string
description: 签名
Expand Down
6 changes: 5 additions & 1 deletion docs/v2/tools/shorturl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,17 @@ post:
type: string
description: 签名
example: C380BEC2BFD727A4B6845133519F3AD6
maxLength: 32
maxLength: 64
sign_type:
type: string
description: 签名类型
example: HMAC-SHA256
maxLength: 32
nullable: true
default: MD5
enum:
- MD5
- HMAC-SHA256
responses:
'200':
description: ''
Expand Down
5 changes: 4 additions & 1 deletion docs/v2/transit/partnerpay/querystate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ post:
description: 委托代扣协议id
sign_type:
type: string
example: hmac-sha256
example: HMAC-SHA256
description: 签名类型
default: HMAC-SHA256
enum:
- HMAC-SHA256
sign:
type: string
example: ee088059bbc9141264f8d14293ad6c4bb94cea8c08aa98fbf93e262d445f8ff5
Expand Down
1 change: 1 addition & 0 deletions docs/v2/transit/pay/querystate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ post:
type: string
example: HMAC-SHA256
description: 签名类型
default: HMAC-SHA256
enum:
- HMAC-SHA256
sign:
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Transit/Partnerpay/Querystate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function post(array $options = [
'mch_id' => '10000098',
'sub_mch_id' => '1900000109',
'contract_id' => 'wx15463511252015071056489715',
'sign_type' => 'hmac-sha256',
'sign_type' => 'HMAC-SHA256',
'openid' => 'oyobu0dmn6tdodznfwkoekqorbi8',
],
]): ResponseInterface;
Expand All @@ -38,7 +38,7 @@ public function postAsync(array $options = [
'mch_id' => '10000098',
'sub_mch_id' => '1900000109',
'contract_id' => 'wx15463511252015071056489715',
'sign_type' => 'hmac-sha256',
'sign_type' => 'HMAC-SHA256',
'openid' => 'oyobu0dmn6tdodznfwkoekqorbi8',
],
]): PromiseInterface;
Expand Down

0 comments on commit ba60090

Please sign in to comment.