|
|
@@ -66,11 +66,11 @@ class TaobaoAuth { |
|
|
|
Map<String, dynamic> params = {}; |
|
|
|
params['access_token'] = resultMsg["accessToken"]?.toString(); |
|
|
|
await NetUtil.post('/api/v1/tbredirect', params: params, method: NetMethod.POST); |
|
|
|
FlutterAlibc.loginOut(); |
|
|
|
} else { |
|
|
|
print("access 失败 $resultMsg"); |
|
|
|
Fluttertoast.showToast(msg: "access 失败 $resultMsg"); |
|
|
|
} |
|
|
|
FlutterAlibc.loginOut(); |
|
|
|
} |
|
|
|
return false; |
|
|
|
} |
|
|
|