xieruidong 2 lat temu
rodzic
commit
b96996d99d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      application/common/library/WxPublic.php

+ 1 - 1
application/common/library/WxPublic.php

@@ -26,7 +26,7 @@ class WxPublic
                 'file' => RUNTIME_PATH.'/wxp/wechat.log',
             ],
             'oauth' => [
-                'scopes'   => ['snsapi_userinfo'],
+                'scopes'   => ['snsapi_base'],
                 'callback' => '/index/user/wxp_handle',
             ],
         ]);