| 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
|