广告数据调整
This commit is contained in:
@@ -11,7 +11,6 @@ import 'package:hgdj/tools_base/loading/loading_helper.dart';
|
||||
import 'package:hgdj/tools_base/toast.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
import '../config/address.dart';
|
||||
import '../config/config.dart';
|
||||
import '../hj_model/cartoon_media_info.dart';
|
||||
import '../hj_page/cartoon/cartoon_detail_page.dart';
|
||||
@@ -28,10 +27,8 @@ import '../hj_page/mine/mine_vip/pay_order_source.dart';
|
||||
import '../hj_page/mine/welfare/welfare_home_page.dart';
|
||||
import '../hj_page/short_video/short_video_page.dart';
|
||||
import '../hj_page/web_page/h5_page.dart';
|
||||
import '../hj_utils/api_service/mine_service.dart';
|
||||
import '../hj_utils/api_service/vid_service.dart';
|
||||
import '../tools_base/event_bus/event_bus_util.dart';
|
||||
import '../tools_base/loading/loading_alert_widget.dart';
|
||||
|
||||
/// 跳转视频/动漫/短视频详情页
|
||||
/// - [isCartoon] 优先级最高 → 长视频页(标记动漫)
|
||||
@@ -198,9 +195,6 @@ Future? _handleYinseInnerLink(String host, Map<String, dynamic> arguments,
|
||||
debugLog(e);
|
||||
return null;
|
||||
}
|
||||
case "kefu": // 在线客服
|
||||
pushToCustomService();
|
||||
return null;
|
||||
case "userhomepage": // 跳转博主
|
||||
final uid = arguments["uid"] ?? 0;
|
||||
if (uid == 0) return null;
|
||||
@@ -273,14 +267,3 @@ Future pushToWalletPage(
|
||||
preventDuplicates: false,
|
||||
);
|
||||
}
|
||||
|
||||
/// 跳转客服系统
|
||||
void pushToCustomService() async {
|
||||
LoadingAlertWidget.show();
|
||||
final url = await MineService.fetchCustomService();
|
||||
LoadingAlertWidget.cancel();
|
||||
if (url?.isNotEmpty == true) {
|
||||
final h5Url = '${Address.baseHost}/api$url';
|
||||
Get.to(H5Page(url: h5Url, title: '在线客服'), opaque: false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user