钻石充值,半屏
This commit is contained in:
@@ -19,6 +19,7 @@ enum ToFlutterAppEnum {
|
|||||||
toRecharge('toRecharge'),
|
toRecharge('toRecharge'),
|
||||||
playing('playing'),
|
playing('playing'),
|
||||||
toRedDiamond('toRedDiamond'),
|
toRedDiamond('toRedDiamond'),
|
||||||
|
toHalfRecharge('toHalfRecharge'),
|
||||||
gameType('gameType'),
|
gameType('gameType'),
|
||||||
jumpToH5('jumpToH5'),
|
jumpToH5('jumpToH5'),
|
||||||
toHomepage('toHomepage'),
|
toHomepage('toHomepage'),
|
||||||
@@ -389,7 +390,8 @@ class FlutterBridge {
|
|||||||
String googleProductId,
|
String googleProductId,
|
||||||
String iosProductId, {
|
String iosProductId, {
|
||||||
otherUserId = '',
|
otherUserId = '',
|
||||||
}) => sendToFlutter(ToFlutterAppEnum.toMonthCardPay.code, {
|
}) =>
|
||||||
|
sendToFlutter(ToFlutterAppEnum.toMonthCardPay.code, {
|
||||||
'googleProductId': googleProductId,
|
'googleProductId': googleProductId,
|
||||||
'iosProductId': iosProductId,
|
'iosProductId': iosProductId,
|
||||||
'otherUserId': otherUserId,
|
'otherUserId': otherUserId,
|
||||||
@@ -403,7 +405,8 @@ class FlutterBridge {
|
|||||||
required String activityId, // 活动id
|
required String activityId, // 活动id
|
||||||
required bool needShareReport, // 是否需要上报分享数据
|
required bool needShareReport, // 是否需要上报分享数据
|
||||||
ShareCardModel? shareCardModel, // 分享上方卡片 数据,参考客户端参数
|
ShareCardModel? shareCardModel, // 分享上方卡片 数据,参考客户端参数
|
||||||
}) => sendToFlutter(ToFlutterAppEnum.share.code, {
|
}) =>
|
||||||
|
sendToFlutter(ToFlutterAppEnum.share.code, {
|
||||||
"activityId": activityId,
|
"activityId": activityId,
|
||||||
"shareReportKey": needShareReport ? "ActivityShared" : "",
|
"shareReportKey": needShareReport ? "ActivityShared" : "",
|
||||||
...shareCardModel?.toJson() ?? {},
|
...shareCardModel?.toJson() ?? {},
|
||||||
@@ -424,7 +427,8 @@ class FlutterBridge {
|
|||||||
void taskToWebViewPage({
|
void taskToWebViewPage({
|
||||||
required String linkUrl,
|
required String linkUrl,
|
||||||
required String activityId,
|
required String activityId,
|
||||||
}) => sendToFlutter(ToFlutterAppEnum.showToWebViewPage.code, {
|
}) =>
|
||||||
|
sendToFlutter(ToFlutterAppEnum.showToWebViewPage.code, {
|
||||||
"linkUrl": linkUrl,
|
"linkUrl": linkUrl,
|
||||||
"activityId": activityId,
|
"activityId": activityId,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user