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