From 40743b078e39ab5849139091c29d501b446fc9bc Mon Sep 17 00:00:00 2001 From: justmd5 Date: Wed, 24 Nov 2021 14:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=B9=E5=BC=8F=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 876b764..87984c8 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,12 @@ $pinduoduo = $pinduoduo->oauth->createAuthorization($token['token']); $result = $pinduoduo->auth_api->request('pdd.ddk.oauth.goods.pid.query'); ``` +### 以上调用需授权接口示例步骤可改为以下一条语句(推荐) + +```php +$result = $pinduoduo->api->auth()->request('pdd.ddk.goods.pid.query') +``` + ### 文档 [拼多多开放平台](http://open.pinduoduo.com/) · [官方文档](http://open.pinduoduo.com/#/apidocument)