Commit e1157063365a2ac59cccfbb5c5fccf8c1911f5a8

Authored by wdn127929
2 parents b896c222 9d82a203

微信登录失败

@@ -16,6 +16,7 @@ if (flutterRoot == null) { @@ -16,6 +16,7 @@ if (flutterRoot == null) {
16 def flutterVersionCode = "450" 16 def flutterVersionCode = "450"
17 if (flutterVersionCode == null) { 17 if (flutterVersionCode == null) {
18 flutterVersionCode = '450' 18 flutterVersionCode = '450'
  19 +
19 } 20 }
20 21
21 22

5.06 KB | W: | H:

3.92 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.8 KB | W: | H:

2.27 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.7 KB | W: | H:

5.64 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

14.2 KB | W: | H:

9.47 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

22.2 KB | W: | H:

14.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

40.2 KB | W: | H:

30.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 <string>weixin</string> 31 <string>weixin</string>
32 <key>CFBundleURLSchemes</key> 32 <key>CFBundleURLSchemes</key>
33 <array> 33 <array>
34 - <string>wx85aa3cdd0f791e65</string> 34 + <string>wx4d105e36a36a6139</string>
35 </array> 35 </array>
36 </dict> 36 </dict>
37 </array> 37 </array>
@@ -187,7 +187,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { @@ -187,7 +187,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver {
187 ///获取微信登录access_token 187 ///获取微信登录access_token
188 _getAccessToken(String code) async { 188 _getAccessToken(String code) async {
189 Response response = await DioUtil.getInstance().getDio().get( 189 Response response = await DioUtil.getInstance().getDio().get(
190 - "https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx85aa3cdd0f791e65&secret=87c9a23c2e6032b2da75af6b0efc5424&code=$code&grant_type=authorization_code"); 190 + "https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx4d105e36a36a6139&secret=90ba794b30d2fe388309149174874603&code=$code&grant_type=authorization_code");
191 LogUtil.v("access_token:${response.toString()}"); 191 LogUtil.v("access_token:${response.toString()}");
192 Map<String, dynamic> responseData = json.decode(response.data.toString()); 192 Map<String, dynamic> responseData = json.decode(response.data.toString());
193 if (responseData["errcode"] != null) { 193 if (responseData["errcode"] != null) {