2021-09-13 14:22:51 +08:00
|
|
|
//
|
|
|
|
// XPHtmlUrl.m
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2021/9/13.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "XPHtmlUrl.h"
|
|
|
|
|
|
|
|
@implementation XPHtmlUrl
|
|
|
|
|
|
|
|
NSString * const URLWithType(URLType type) {
|
|
|
|
NSString * prefix = @"yinyou";
|
|
|
|
NSDictionary * dic = @{
|
2021-12-28 01:03:57 +08:00
|
|
|
@(kPrivacyURL) : @"modules/rule/privacy-wap.html",//隐私政策
|
|
|
|
@(kPrivacySDKURL) : @"modules/rule/sdk.html",//隐私政策-SDK
|
|
|
|
@(kPrivacyPersonalURL) : @"modules/rule/personal-info.html",//隐私政策-个人信息
|
|
|
|
@(kPrivacyDeviceURL) : @"modules/rule/permissions.html",//隐私政策-设备权限
|
|
|
|
@(kUserProtocalURL) : @"modules/rule/protocol.html",///用户协议
|
|
|
|
@(kUserInviteFriendURL) : @"modules/game/index.html",///邀请好友
|
2021-12-10 19:19:02 +08:00
|
|
|
@(kFAQURL) : @"modules/rule/guide.html ",//常见问题
|
|
|
|
@(kIdentityURL) : @"modules/identity/new.html",//实人认证
|
|
|
|
@(kGameBindAccountURL) : @"modules/game/bindAccount.html",///绑定账号
|
|
|
|
@(kNurseryURL) : @"activity/cleanNet/index.html",
|
|
|
|
@(kRechargePrivacyURL) : @"modules/rule/rechargeAgreement.html",//充值协议
|
|
|
|
@(kReportRoomURL) : @"modules/inform/index.html",///举报房间
|
|
|
|
@(kShareRoomURL) : @"modules/share_room/index.html",///分享房间
|
|
|
|
@(kCandyTreeURL) : @"activity/explore/index.html",///参加糖果树
|
|
|
|
@(kCandyTreeRuleURL) : @"modules/rank/index.html#/wishingWellRule",///糖果树规则
|
|
|
|
@(kCandyTreeRecordURL) : @"modules/rank/index.html#/wishingWellRecord",///糖果树记录
|
2022-01-14 11:38:09 +08:00
|
|
|
@(kRoomCharmRankURL) : @"modules/charm/index.html",//房间魅力榜
|
|
|
|
@(kRoomRankURL) : @"modules/room_rank/index.html", //房间榜
|
2022-04-18 20:53:40 +08:00
|
|
|
@(kRoomHourRankURL) : @"modules/room_rank/hourRank.html", //房间小时榜
|
2021-12-23 17:14:36 +08:00
|
|
|
@(kUserLevelURL) : @"modules/level/index.html",//我的等级
|
|
|
|
@(kHomeRankURL) : @"modules/rank/index.html#/rank", // 排行榜
|
2022-01-05 18:01:50 +08:00
|
|
|
@(kRoomDatingRule) : @"modules/rule/dating.html",//相亲玩法
|
2022-01-07 11:30:03 +08:00
|
|
|
@(kNobleRuleURL) : @"modules/rule/introduction-patrician.html", // 贵族规则
|
2022-04-01 18:43:49 +08:00
|
|
|
@(kUserRechargeAgrURL) : @"modules/rule/rechargeAgreement.html", ///用户充值协议
|
|
|
|
@(kUserRegiServiceAgrURL): @"modules/rule/protocol.html",//用户注册服务协议
|
|
|
|
@(kLiveServiceAgrURL) : @"modules/rule/live-protocol.html", ///直播服务协议
|
|
|
|
@(kCommunitySpecURL) : @"modules/rule/community-norms.html", ///社区规范
|
|
|
|
@(kAccountlogoutAgrURL) : @"modules/rule/logout-agreement.html", ///账号注销协议
|
2022-04-07 15:02:22 +08:00
|
|
|
@(kAnchorFansOpenURL) : @"modules/fans_club/nameplate.html", ///主播粉丝团-铭牌申请
|
|
|
|
@(kAnchorFansListURL) : @"modules/fans_club/myfans.html", ///主播粉丝团-粉丝列表
|
|
|
|
@(kAnchorFansRankURL) : @"modules/fans_club/fans_rank.html", ///主播粉丝团-粉丝排行
|
2022-05-07 17:58:15 +08:00
|
|
|
@(kAnchorFansRuleURL) : @"modules/fans_club/rule.html", ///主播粉丝团-粉丝团规则
|
2022-06-13 19:07:07 +08:00
|
|
|
@(kNewWeekStarURL) : @"modules/weekStar/newWeekStar.html", ///周星礼物-周星榜
|
|
|
|
@(kLicenseHourRankURL) : @"modules/room_rank/hourRankLicense.html",///牌照房小时榜礼物
|
2022-06-14 19:21:25 +08:00
|
|
|
@(kLuckyGiftPlayRuleURL) : @"modules/rule/luckyGiftRule.html?giftID=%@",///幸运礼物玩法说明
|
2022-08-18 19:58:32 +08:00
|
|
|
@(kSailingActivityURL) : @"activity/act-sail/more.html", ///航海活动地址
|
|
|
|
@(kSailingPlayDescdURL) : @"activity/act-sail/play_explain.html", ///航海玩法规则
|
|
|
|
@(kSailingRecordURL) : @"activity/act-sail/win_record.html", ///航海中奖记录
|
2022-06-27 20:04:54 +08:00
|
|
|
@(kNetworkRenovateURL) : @"activity/activemodel/index.html?code=ZBGG",///网络整治乱象
|
|
|
|
@(kMonentsShareURL) : @"modules/world/share-page/index.html",///分享动态
|
2023-01-06 10:26:01 +08:00
|
|
|
@(kRedPacketRuleURL) : @"modules/rule/red-packet-rule.html",///红包规则
|
2022-12-07 15:05:14 +08:00
|
|
|
@(kXinZuoStarURL) : @"activity/act-constellation/index.html",///星座礼物
|
2021-09-13 14:22:51 +08:00
|
|
|
};
|
|
|
|
NSString * url = [dic objectForKey:@(type)];
|
|
|
|
return [NSString stringWithFormat:@"%@/%@",prefix, url];
|
|
|
|
}
|
|
|
|
@end
|