|
@@ -30,7 +30,7 @@ class WechatOpenPlatformController extends CatchController
|
|
|
$app = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
|
$user_id = $request->input('user_id');
|
|
|
$url = $app->createPreAuthorizationUrl(sprintf('%s/api/channel/openPlatform/auth/%s/%s',config('app.url'), $componentInfo->app_id, $user_id), []);
|
|
|
- return redirect($url);
|
|
|
+ return view('wechat.openPlatform.preauth')->with('url', $url);
|
|
|
}
|
|
|
|
|
|
public function auth(Request $request, $component_appid, $user_id) {
|