dyjh hace 6 años
padre
commit
4b7eda2dc0
Se han modificado 1 ficheros con 1 adiciones y 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