作者 chencheng

2

... ... @@ -163,7 +163,8 @@ class Wechat extends Api
if(empty(request()->param('code'))){
return $this->error('非法操作');
}
$_REQUEST['code'] = request()->param('code');
try{
$app = WehcatModule::getInstance()->initWechat();
$oauth = $app->oauth;
... ...