$this->appid, 'secret' => $this->appsecret, 'js_code' => $code, 'grant_type' => 'authorization_code' ], null, ['Content-Type' => 'text/xml'] ]; return WxClient::get(...$param); } }