diff --git a/docs/definitions/MemberCard.yaml b/docs/definitions/MemberCard.yaml index 6137ad2c..6ab908b6 100644 --- a/docs/definitions/MemberCard.yaml +++ b/docs/definitions/MemberCard.yaml @@ -161,7 +161,7 @@ Record: type: array items: type: string - description: 字段值 + description: 字段值 example: - 篮球 - 足球 diff --git a/docs/v3/marketing/membercard-open/cards.yaml b/docs/v3/marketing/membercard-open/cards.yaml index f47aee1f..a1497d46 100644 --- a/docs/v3/marketing/membercard-open/cards.yaml +++ b/docs/v3/marketing/membercard-open/cards.yaml @@ -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 @@ -211,6 +213,7 @@ get: required: true type: integer description: 分页大小 + example: 20 responses: 200: schema: @@ -232,5 +235,6 @@ get: default: 0 data: type: array + description: 会员卡列表 items: $ref: '../../../definitions/MemberCard.yaml#Record' diff --git a/docs/v3/transferdownload/signfile.yaml b/docs/v3/transferdownload/signfile.yaml index 1a43fd3e..d7c7fbd2 100644 --- a/docs/v3/transferdownload/signfile.yaml +++ b/docs/v3/transferdownload/signfile.yaml @@ -1,12 +1,13 @@ 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: @@ -14,5 +15,7 @@ get: in: query required: true type: string + description: 前序download_url的查询参数 + example: X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD responses: 200: {} diff --git a/src/V3/Marketing/MembercardOpen/Cards.php b/src/V3/Marketing/MembercardOpen/Cards.php index 90039873..8363e642 100644 --- a/src/V3/Marketing/MembercardOpen/Cards.php +++ b/src/V3/Marketing/MembercardOpen/Cards.php @@ -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; @@ -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; } diff --git a/src/V3/Transferdownload/Signfile.php b/src/V3/Transferdownload/Signfile.php index fef4c614..8b5e2197 100644 --- a/src/V3/Transferdownload/Signfile.php +++ b/src/V3/Transferdownload/Signfile.php @@ -16,7 +16,7 @@ interface Signfile */ public function get(array $options = [ 'query' => [ - 'token' => '', + 'token' => 'X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD', ], ]): ResponseInterface; @@ -27,7 +27,7 @@ public function get(array $options = [ */ public function getAsync(array $options = [ 'query' => [ - 'token' => '', + 'token' => 'X8Uk3sD4a4eZVPTBvqNDoUqcYMlZ9uuD', ], ]): PromiseInterface; }