|
@@ -214,8 +214,7 @@ class WeChatBaseController extends BaseController |
|
@@ -214,8 +214,7 @@ class WeChatBaseController extends BaseController |
214
|
],
|
214
|
],
|
215
|
];
|
215
|
];
|
216
|
$app = new Application($config);
|
216
|
$app = new Application($config);
|
217
|
-// $target_url='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
|
|
218
|
- $target_url = "http://www.aodehealthcare.com/portal/weixin/index";
|
217
|
+ $target_url='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
219
|
session('target_url',$target_url);
|
218
|
session('target_url',$target_url);
|
220
|
$app->oauth->redirect()->send();
|
219
|
$app->oauth->redirect()->send();
|
221
|
}
|
220
|
}
|