Skip to content

Commit

Permalink
ohos新增自动订阅支付-入口
Browse files Browse the repository at this point in the history
  • Loading branch information
WarmYunyang committed Nov 1, 2024
1 parent 2bb58a9 commit 6221b6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/tobias.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ class Tobias {
/// [evn] only supports Android due to native AliPaySDK
/// [universalLink] only supports iOS
Future<Map> pay(String order,
{AliPayEvn evn = AliPayEvn.online, String? universalLink}) async {
{AliPayEvn evn = AliPayEvn.online,
String? universalLink,
bool isOhosAutoSub = false}) async {
return await TobiasPlatform.instance
.pay(order, evn: evn, universalLink: universalLink);
}
Expand Down

0 comments on commit 6221b6a

Please sign in to comment.