dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
4b7eda2dc0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Web/AuthController.php

+ 1 - 1
app/Http/Controllers/Web/AuthController.php

xqd
@@ -23,7 +23,7 @@ class AuthController extends Controller
             'secret' => $weChatApp->G_app_secret,
             'response_type' => 'array',
             'scopes'   => ['snsapi_userinfo'],
-            'callback' => 'web/notify',
+            'callback' => env('APP_URL') . '/web/notify',
         ];
         $app = Factory::officialAccount($config);
         $response = $app->oauth