提交 848fec73 编写于 作者: 李光春's avatar 李光春

- update service wechat

上级 93567fd7
......@@ -146,7 +146,6 @@ class WebApps extends Service
*/
public function accessToken(string $code, bool $is = false)
{
dump("{$this->api_url}sns/oauth2/access_token?appid={$this->app_id}&secret={$this->app_secret}&code={$code}&grant_type={$this->grant_type}");
return HttpService::instance()
->url("{$this->api_url}sns/oauth2/access_token?appid={$this->app_id}&secret={$this->app_secret}&code={$code}&grant_type={$this->grant_type}")
->toArray($is);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册