bingying2 opened this issue 4 years ago · 1 comments
//错误截图
//授权之后的回调页面代码,code已经有了,一直报http相关错误,配置文件省略 $pinduoduo = new PinDuoDuo(\Yii::$app->params['pinduoduo']); $token = $pinduoduo->pre_auth->getAccessToken(); var_dump($token); return $token;
composer 中添加:hanson/foundation-sdk:^3.0,试试看