|
@@ -1,6 +1,7 @@ |
|
|
import 'dart:io'; |
|
|
import 'dart:io'; |
|
|
|
|
|
|
|
|
import 'package:flutter/cupertino.dart'; |
|
|
import 'package:flutter/cupertino.dart'; |
|
|
|
|
|
import 'package:flutter_alibc/alibc_const_key.dart'; |
|
|
import 'package:flutter_alibc/alibc_model.dart'; |
|
|
import 'package:flutter_alibc/alibc_model.dart'; |
|
|
import 'package:flutter_alibc/flutter_alibc.dart'; |
|
|
import 'package:flutter_alibc/flutter_alibc.dart'; |
|
|
import 'package:fluttertoast/fluttertoast.dart'; |
|
|
import 'package:fluttertoast/fluttertoast.dart'; |
|
@@ -230,7 +231,10 @@ class TurnChainUtil { |
|
|
RouterUtil.openWebview(webUrl, context); |
|
|
RouterUtil.openWebview(webUrl, context); |
|
|
rlt = true; |
|
|
rlt = true; |
|
|
} else { |
|
|
} else { |
|
|
tradeResult = await FlutterAlibc.openByUrl(url: openAppUrl); |
|
|
|
|
|
|
|
|
tradeResult = await FlutterAlibc.openByUrl( |
|
|
|
|
|
url: openAppUrl, |
|
|
|
|
|
schemeType: provider == GlobalConfig.PROVIDER_TM ? AlibcSchemeType.AlibcSchemeTmall : AlibcSchemeType.AlibcSchemeTaoBao, |
|
|
|
|
|
); |
|
|
rlt = true; |
|
|
rlt = true; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|