Przeglądaj źródła

1、IOS百川调用指定渠道(天猫or淘宝)

tags/0.0.16+8^0
PH2 3 lat temu
rodzic
commit
8028bb08b4
1 zmienionych plików z 5 dodań i 1 usunięć
  1. +5
    -1
      lib/util/turn_chain/turn_chain_util.dart

+ 5
- 1
lib/util/turn_chain/turn_chain_util.dart Wyświetl plik

@@ -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;
}
}


Ładowanie…
Anuluj
Zapisz