作者 anyv
1 个管道 的构建 通过 耗费 0 秒

4

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