Skip to content

Commit

Permalink
optim docs/v3/marketing/membercard-open/cards.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Nov 20, 2024
1 parent 22e0987 commit 9693467
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/definitions/MemberCard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Record:
type: array
items:
type: string
description: 字段值
description: 字段值
example:
- 篮球
- 足球
Expand Down
8 changes: 6 additions & 2 deletions docs/v3/marketing/membercard-open/cards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,25 @@ post:
schema:
$ref: '../../../definitions/MemberCard.yaml#Record'
get:
x-last-updated-at: 2021.01.07
x-last-updated-at: 2023.11.28
x-role:
- 直连商户
- 服务商
tags:
- 会员卡∙基础功能
summary: 查询会员卡模板列表API
description: 通过此接口可查询指定某品牌的所有会员卡模板列表 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/membercard_open/chapter3_3.shtml)
description: 通过此接口可查询指定某品牌的所有会员卡模板列表 [官方文档](https://pay.weixin.qq.com/docs/merchant/apis/membership-card/member-card-base/list-member-card.html) [官方文档](https://pay.weixin.qq.com/docs/partner/apis/membership-card/member-card-base/list-member-card.html) [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/membercard_open/chapter3_3.shtml)
parameters:
- name: brand_id
in: query
type: string
description: 品牌id
example: '1001622624'
- name: appid
in: query
type: string
description: 商户AppId
example: wxea9c30890f48d5ae
- name: offset
in: query
required: true
Expand All @@ -211,6 +213,7 @@ get:
required: true
type: integer
description: 分页大小
example: 20
responses:
200:
schema:
Expand All @@ -232,5 +235,6 @@ get:
default: 0
data:
type: array
description: 会员卡列表
items:
$ref: '../../../definitions/MemberCard.yaml#Record'
7 changes: 5 additions & 2 deletions docs/v3/transferdownload/signfile.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
get:
x-last-updated-at: 2021.08.25
x-last-updated-at: 2023.12.04
x-role:
- 服务商
- 普通商户
tags:
- 资金应用∙转账
- 运营工具∙用工卡
summary: 下载电子回单API
description: 下载电子回单API为通用接口,商家转账等业务电子回单均可通过该接口进行下载。[官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_15.shtml)
description: 下载电子回单API为通用接口,商家转账等业务电子回单均可通过该接口进行下载。[下载电子回单](https://pay.weixin.qq.com/docs/partner/apis/bank-mode-batch-transfer-accounts/download-electron-receipt.html) [下载电子回单](https://pay.weixin.qq.com/docs/partner/apis/batch-transfer-accounts-money/transfer/download-electron-receipt.html) [下载电子回单](https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/download-receipt.html) [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_15.shtml)
produces:
- application/pdf
parameters:
- name: token
in: query
required: true
type: string
description: 前序download_url的查询参数
example: X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD
responses:
200: {}
12 changes: 6 additions & 6 deletions src/V3/Marketing/MembercardOpen/Cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ public function postAsync(array $options = [
*/
public function get(array $options = [
'query' => [
'brand_id' => '',
'appid' => '',
'brand_id' => '1001622624',
'appid' => 'wxea9c30890f48d5ae',
'offset' => 0,
'limit' => 0,
'limit' => 20,
],
]): ResponseInterface;

Expand All @@ -135,10 +135,10 @@ public function get(array $options = [
*/
public function getAsync(array $options = [
'query' => [
'brand_id' => '',
'appid' => '',
'brand_id' => '1001622624',
'appid' => 'wxea9c30890f48d5ae',
'offset' => 0,
'limit' => 0,
'limit' => 20,
],
]): PromiseInterface;
}
4 changes: 2 additions & 2 deletions src/V3/Transferdownload/Signfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Signfile
*/
public function get(array $options = [
'query' => [
'token' => '',
'token' => 'X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD',
],
]): ResponseInterface;

Expand All @@ -27,7 +27,7 @@ public function get(array $options = [
*/
public function getAsync(array $options = [
'query' => [
'token' => '',
'token' => 'X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD',
],
]): PromiseInterface;
}

0 comments on commit 9693467

Please sign in to comment.