| xqd
@@ -16,9 +16,9 @@ class AuthController extends Controller
|
|
|
{
|
|
|
public function bind(Request $request)
|
|
|
{
|
|
|
- // $user = session('wechat.oauth_user.default');
|
|
|
- // dd($user);
|
|
|
- $store_id = $request->input('store_id');
|
|
|
+ $user = session('wechat.oauth_user.default');
|
|
|
+ dd($user);
|
|
|
+ /*$store_id = $request->input('store_id');
|
|
|
$weChatApp = AlbumManufacturerModel::where('store_id', $store_id)->first();
|
|
|
$config = [
|
|
|
'app_id' => $weChatApp->G_app_id,
|
| xqd
@@ -30,7 +30,7 @@ class AuthController extends Controller
|
|
|
$app = Factory::officialAccount($config);
|
|
|
$response = $app->oauth
|
|
|
->redirect();
|
|
|
- return $response;
|
|
|
+ return $response;*/
|
|
|
//$res = $response->send();
|
|
|
// dd($res);
|
|
|
}
|