Explorar el Código

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

tags/0.0.16+8^0
PH2 hace 3 años
padre
commit
8028bb08b4
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      lib/util/turn_chain/turn_chain_util.dart

+ 5
- 1
lib/util/turn_chain/turn_chain_util.dart Ver fichero

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


Cargando…
Cancelar
Guardar