From 2feea7a0a2b4531d4ab45d714cae7f9c8855f37b Mon Sep 17 00:00:00 2001 From: James ZHNAG Date: Mon, 9 Dec 2024 19:40:07 +0800 Subject: [PATCH] typo examples --- README.md | 5 +++-- docs/v2/secapi/mch/modifyInstitutionsub.yaml | 2 +- docs/v3/global/merchants/{sub_mchid}.yaml | 2 +- src/V2/Secapi/Mch/_modifyinstitutionsub_.php | 4 ++-- src/V3/Global_/Merchants/_sub_mchid_.php | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2c543e2b..70ec0281 100644 --- a/README.md +++ b/README.md @@ -118,10 +118,11 @@ | APIv2∙资金应用∙红包 | ✔️ | ✔️ | | APIv2∙资金应用∙付款 | ✔️ | ✔️ | | APIv2∙车主平台 | ✔️ | ✔️ | +| APIv2∙乘车码代扣 | ✔️ | ✔️ | | APIv2∙免押租借 | ✔️ | | | APIv2∙免押速住 | ✔️ | | -| APIv2∙酒店押金 | | ✔️ | -| APIv2∙委托扣款 | | ✔️ | +| APIv2∙酒店押金 | ✔️ | ✔️ | +| APIv2∙委托扣款 | ✔️ | ✔️ | | APIv2∙代金券 | ✔️ | ✔️ | | APIv2∙小微 | | ✔️ | | APIv2∙风控 | ✔️ | ✔️ | diff --git a/docs/v2/secapi/mch/modifyInstitutionsub.yaml b/docs/v2/secapi/mch/modifyInstitutionsub.yaml index 1e9362e6..a0a0ab08 100644 --- a/docs/v2/secapi/mch/modifyInstitutionsub.yaml +++ b/docs/v2/secapi/mch/modifyInstitutionsub.yaml @@ -128,7 +128,7 @@ post: x-cdata: true type: string description: 门店照片 - example: '[Media_id1,Media_id2,Media_id3]' + example: '["Media_id1","Media_id2","Media_id3"]' nullable: true x-json: type: array diff --git a/docs/v3/global/merchants/{sub_mchid}.yaml b/docs/v3/global/merchants/{sub_mchid}.yaml index 7cb93ca5..52907606 100644 --- a/docs/v3/global/merchants/{sub_mchid}.yaml +++ b/docs/v3/global/merchants/{sub_mchid}.yaml @@ -288,7 +288,7 @@ patch: store_photos: type: string description: 门店照片 - example: '[Media_id1, Media_id2, Media_id3]' + example: '["Media_id1", "Media_id2", "Media_id3"]' mcc: type: string description: MCC码 diff --git a/src/V2/Secapi/Mch/_modifyinstitutionsub_.php b/src/V2/Secapi/Mch/_modifyinstitutionsub_.php index 5e5ec59d..7acb978c 100644 --- a/src/V2/Secapi/Mch/_modifyinstitutionsub_.php +++ b/src/V2/Secapi/Mch/_modifyinstitutionsub_.php @@ -35,7 +35,7 @@ public function post(array $options = [ 'office_account' => 'wx8888888888888888', 'mini_program' => 'wx8888888888888888', 'store_address' => '广东省深圳市南山区科技中一道10000号', - 'store_photos' => '[Media_id1,Media_id2,Media_id3]', + 'store_photos' => '["Media_id1","Media_id2","Media_id3"]', 'director_name' => 'BobZhang', 'director_id_number' => '5555—8888', 'principal_name' => 'BobZhang', @@ -79,7 +79,7 @@ public function postAsync(array $options = [ 'office_account' => 'wx8888888888888888', 'mini_program' => 'wx8888888888888888', 'store_address' => '广东省深圳市南山区科技中一道10000号', - 'store_photos' => '[Media_id1,Media_id2,Media_id3]', + 'store_photos' => '["Media_id1","Media_id2","Media_id3"]', 'director_name' => 'BobZhang', 'director_id_number' => '5555—8888', 'principal_name' => 'BobZhang', diff --git a/src/V3/Global_/Merchants/_sub_mchid_.php b/src/V3/Global_/Merchants/_sub_mchid_.php index b99a63ed..8f4ae2e8 100644 --- a/src/V3/Global_/Merchants/_sub_mchid_.php +++ b/src/V3/Global_/Merchants/_sub_mchid_.php @@ -71,7 +71,7 @@ public function patch(array $options = [ 'office_account' => 'wx8888888888888888', 'mini_program' => 'wx8888888888888888', 'store_address' => '10F World Finance Centre (South Office), 11 Canton Road, Tsim Sha Tsui, Hong Kong', - 'store_photos' => '[Media_id1, Media_id2, Media_id3]', + 'store_photos' => '["Media_id1", "Media_id2", "Media_id3"]', 'mcc' => '4214', ], 'director' => [ @@ -124,7 +124,7 @@ public function patchAsync(array $options = [ 'office_account' => 'wx8888888888888888', 'mini_program' => 'wx8888888888888888', 'store_address' => '10F World Finance Centre (South Office), 11 Canton Road, Tsim Sha Tsui, Hong Kong', - 'store_photos' => '[Media_id1, Media_id2, Media_id3]', + 'store_photos' => '["Media_id1", "Media_id2", "Media_id3"]', 'mcc' => '4214', ], 'director' => [