diff --git a/lib/util/turn_chain/turn_chain_util.dart b/lib/util/turn_chain/turn_chain_util.dart index 778cf7a..6414b58 100644 --- a/lib/util/turn_chain/turn_chain_util.dart +++ b/lib/util/turn_chain/turn_chain_util.dart @@ -1,6 +1,7 @@ import 'dart:io'; import 'package:flutter/cupertino.dart'; +import 'package:flutter_alibc/alibc_const_key.dart'; import 'package:flutter_alibc/alibc_model.dart'; import 'package:flutter_alibc/flutter_alibc.dart'; import 'package:fluttertoast/fluttertoast.dart'; @@ -230,7 +231,10 @@ class TurnChainUtil { RouterUtil.openWebview(webUrl, context); rlt = true; } else { - tradeResult = await FlutterAlibc.openByUrl(url: openAppUrl); + tradeResult = await FlutterAlibc.openByUrl( + url: openAppUrl, + schemeType: provider == GlobalConfig.PROVIDER_TM ? AlibcSchemeType.AlibcSchemeTmall : AlibcSchemeType.AlibcSchemeTaoBao, + ); rlt = true; } }