diff --git a/lib/util/taobao/taobao_auth.dart b/lib/util/taobao/taobao_auth.dart index ea3370e..651e937 100644 --- a/lib/util/taobao/taobao_auth.dart +++ b/lib/util/taobao/taobao_auth.dart @@ -38,11 +38,11 @@ class TaobaoAuth { TradeResult result; if (Platform.isAndroid) { result = await FlutterAlibc.openByUrl(url: url, backUrl: "alisdk://", isAuth: true); - if(result.errorCode=="0"){ - await Navigator.push(context,MaterialPageRoute(builder: (_)=>AuthSuccessPage(authResultType: AuthResultType.success,)) ); - }else{ - await Navigator.push(context,MaterialPageRoute(builder: (_)=>AuthSuccessPage(authResultType: AuthResultType.error,)) ); - } + // if(result.errorCode=="0"){ + // await Navigator.push(context,MaterialPageRoute(builder: (_)=>AuthSuccessPage(authResultType: AuthResultType.success,)) ); + // }else{ + // await Navigator.push(context,MaterialPageRoute(builder: (_)=>AuthSuccessPage(authResultType: AuthResultType.error,)) ); + // } } else if (Platform.isIOS) { result = await FlutterAlibc.openByUrl(url: url); }