feat:修改H5路径

This commit is contained in:
Max
2023-11-15 23:08:51 +08:00
parent cedc402455
commit 99844fc6eb
6 changed files with 77 additions and 115 deletions

View File

@@ -1,39 +0,0 @@
{
"project_info": {
"project_number": "656602722869",
"project_id": "pekolive-30f9e",
"storage_bucket": "pekolive-30f9e.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:656602722869:android:dac206f8aae0ba9021f77c",
"android_client_info": {
"package_name": "com.vele.pekolive"
}
},
"oauth_client": [
{
"client_id": "656602722869-sss2inirem512et0015kdqjp39mqgn96.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDDoTSpY3wxOefVDVKRmE9cDiT1iv8Ra-4"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "656602722869-sss2inirem512et0015kdqjp39mqgn96.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@@ -108,7 +108,7 @@ public class UIHelper {
public static void showMonsterResult(Context context, String monsterId) {
CommonWebViewActivity.start(context, UriProvider.IM_SERVER_URL +
"/peko/modules/monster/index.html?monsterId=" + monsterId);
"/anan_vestBag/modules/monster/index.html?monsterId=" + monsterId);
}
public static void showLabelInfoAct(Activity mActivity, int requestCode) {
@@ -132,7 +132,7 @@ public class UIHelper {
*/
public static void showRecommendPosH5(Context context) {
String cardUrl = UriProvider.JAVA_WEB_URL +
"/peko/modules/recommend-card/index.html";
"/anan_vestBag/modules/recommend-card/index.html";
CommonWebViewActivity.start(context, cardUrl);
}

View File

@@ -401,7 +401,7 @@ public class XChatApplication extends BaseApp {
httpParams.put("androidId", MD5Utils.getMD5String(Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID)));
httpParams.put("channel", AppMetaDataUtil.getChannelID());
RxNet.init(context)
.debug(true)
.debug(BuildConfig.DEBUG)
.setBaseUrl(url)
.addInterceptors(new ParamsInterceptor(httpParams))
.addInterceptors(new NoParamsInterceptor())//注意:拦截器的添加顺序,请求的拦截顺序

View File

@@ -60,7 +60,7 @@ public class MyRecommendCardActivity extends BaseViewBindingActivity<ActivityMyR
@Override
public void performAction(View view) {
CommonWebViewActivity.start(context, UriProvider.JAVA_WEB_URL +
"/peko/modules/recommend-card/help.html");
"/anan_vestBag/modules/recommend-card/help.html");
}
});
}

View File

@@ -86,7 +86,7 @@ public class XChatConstants {
/**
* 分享房間 URL
*/
public static final String SHARE_ROOM_URL = "/peko/modules/share_room/index.html?shareUid=";
public static final String SHARE_ROOM_URL = "/anan_vestBag/modules/share_room/index.html?shareUid=";
/**
* 分享家族文本
@@ -101,7 +101,7 @@ public class XChatConstants {
/**
* 分享家族 URL
*/
public static final String SHARE_FAMILY_URL = "/peko/modules/share/share_family.html";
public static final String SHARE_FAMILY_URL = "/anan_vestBag/modules/share/share_family.html";
/**
* 分享群組文本
@@ -116,17 +116,17 @@ public class XChatConstants {
/**
* 分享群組 URL
*/
public static final String SHARE_TEAM_URL = "/peko/modules/share/share_family.html";
public static final String SHARE_TEAM_URL = "/anan_vestBag/modules/share/share_family.html";
/**
* 分享群組 URL
*/
public static final String SHARE_WORLD_DYNAMIC_URL = "/peko/modules/world/share-page/index.html";
public static final String SHARE_WORLD_DYNAMIC_URL = "/anan_vestBag/modules/world/share-page/index.html";
/**
* 遊戲排行榜 URL
*/
public static final String GAME_ROOK = "/peko/modules/erbanRank/game_rank.html?type=week";
public static final String GAME_ROOK = "/anan_vestBag/modules/erbanRank/game_rank.html?type=week";
/**
* 系統消息那個用戶的UID
@@ -148,7 +148,7 @@ public class XChatConstants {
/**
* 登錄頁面「如何登錄」對應的 H5 頁面
*/
public static final String LOGIN_ERBAN_ACCOUNT_URL = "/peko/modules/rule/login_tips.html";
public static final String LOGIN_ERBAN_ACCOUNT_URL = "/anan_vestBag/modules/rule/login_tips.html";
public static final String ROOM_INTRODUCTION = ResUtil.getString(R.string.yizhuan_xchat_android_constants_xchatconstants_08);
public static final String DATING_TIPS_OPEN = ResUtil.getString(R.string.yizhuan_xchat_android_constants_xchatconstants_09);

View File

@@ -55,42 +55,42 @@ public class UriProvider {
* @return -
*/
public static String getRoomBg() {
return IM_SERVER_URL.concat("/peko/modules/noble/roomBgList.html");
return IM_SERVER_URL.concat("/anan_vestBag/modules/noble/roomBgList.html");
}
/**
* 贵族介绍页
*/
public static String getNobleIntro() {
return IM_SERVER_URL.concat("/peko/modules/nobles/intro.html");
return IM_SERVER_URL.concat("/anan_vestBag/modules/nobles/intro.html");
}
/**
* 贵族介绍页
*/
public static String getRanking() {
return IM_SERVER_URL.concat("/peko/modules/rank/index.html#/rank");
return IM_SERVER_URL.concat("/anan_vestBag/modules/rank/index.html#/rank");
}
/**
* 帮助页
*/
public static String getHelp() {
return IM_SERVER_URL.concat("/peko/modules/rule/guide.html");
return IM_SERVER_URL.concat("/anan_vestBag/modules/rule/guide.html");
}
/**
* 等级界面
*/
public static String getUserLevelUrl() {
return JAVA_WEB_URL.concat("/peko/modules/level/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/level/index.html");
}
/**
* 邀请好友
*/
public static String getShareUrl() {
return JAVA_WEB_URL.concat("/peko/modules/inviteCode/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/inviteCode/index.html");
}
@@ -98,7 +98,7 @@ public class UriProvider {
* 等级界面
*/
public static String getUserCharmLevelUrl() {
return JAVA_WEB_URL.concat("/peko/modules/charm/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/charm/index.html");
}
@@ -108,7 +108,7 @@ public class UriProvider {
* @return
*/
public static String getErbanTopMessageUrl() {
return JAVA_WEB_URL.concat("/peko/modules/headNews/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/headNews/index.html");
}
/**
@@ -117,7 +117,7 @@ public class UriProvider {
* @return
*/
public static String getRelatedToMeHeadLineUrl() {
return JAVA_WEB_URL.concat("/peko/modules/headNews/index.html?atMe=1");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/headNews/index.html?atMe=1");
}
/**
@@ -126,7 +126,7 @@ public class UriProvider {
* @return
*/
public static String getCreateFamilyUrl() {
return JAVA_WEB_URL.concat("/peko/modules/family/create.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/family/create.html");
}
/**
@@ -135,7 +135,7 @@ public class UriProvider {
* @return
*/
public static String getFamilyInstructionUrl() {
return JAVA_WEB_URL.concat("/peko/modules/family/handbook.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/family/handbook.html");
}
/**
@@ -144,7 +144,7 @@ public class UriProvider {
* @return
*/
public static String getFamilyCurrencyHelpUrl() {
return JAVA_WEB_URL.concat("/peko/modules/family/faq.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/family/faq.html");
}
/**
@@ -153,7 +153,7 @@ public class UriProvider {
* @return
*/
public static String getReportWallUrl() {
return JAVA_WEB_URL.concat("/peko/modules/inform/inform-list.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/inform/inform-list.html");
}
/**
@@ -162,7 +162,7 @@ public class UriProvider {
* @return
*/
public static String getPublicChatHallHelpUrl() {
return JAVA_WEB_URL.concat("/peko/modules/inform/help.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/inform/help.html");
}
/**
@@ -171,7 +171,7 @@ public class UriProvider {
* @return
*/
public static String getUserProtocolUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/protocol.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/protocol.html");
}
/**
@@ -180,14 +180,14 @@ public class UriProvider {
* @return
*/
public static String getUserReportUrl() {
return JAVA_WEB_URL.concat("/peko/modules/inform/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/inform/index.html");
}
/**
* 话题-说明
*/
public static String getMiniWorldRuleUrl() {
return JAVA_WEB_URL.concat("/peko/modules/world-rule/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/world-rule/index.html");
}
/**
@@ -196,7 +196,7 @@ public class UriProvider {
* @return
*/
public static String getTutuRealNamePage() {
return JAVA_WEB_URL.concat("/peko/modules/identity/new.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/identity/new.html");
}
/**
@@ -205,7 +205,7 @@ public class UriProvider {
* @return
*/
public static String getMyIncomeUrl() {
return JAVA_WEB_URL.concat("/peko/modules/myincome/index.html#/MyIncome");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/myincome/index.html#/MyIncome");
}
/**
@@ -214,7 +214,7 @@ public class UriProvider {
* @return
*/
public static String getRechargeAgreementUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/rechargeAgreement.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/rechargeAgreement.html");
}
/**
@@ -223,7 +223,7 @@ public class UriProvider {
* @return
*/
public static String getMentoringRelationshipGuide() {
return JAVA_WEB_URL.concat("/peko/modules/strategy/strategy.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/strategy/strategy.html");
}
/**
@@ -232,11 +232,11 @@ public class UriProvider {
* @return
*/
public static String getMentorRankingList() {
return JAVA_WEB_URL.concat("/peko/modules/strategy/teacher-list.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/strategy/teacher-list.html");
}
public static String getCommnunityNorms() {
return JAVA_WEB_URL.concat("/peko/modules/rule/community-norms.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/community-norms.html");
}
/**
@@ -245,7 +245,7 @@ public class UriProvider {
* @return
*/
public static String getPrivacyAgreement() {
return JAVA_WEB_URL.concat("/peko/modules/rule/privacy-wap.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/privacy-wap.html");
}
public static String getLinkUrl(String linkUrl) {
@@ -259,28 +259,28 @@ public class UriProvider {
* 个人魅力榜
*/
public static String getPersonalCharismaRank() {
return JAVA_WEB_URL.concat("/peko/modules/charm/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/charm/index.html");
}
/**
* 宝箱帮助
*/
public static String getBoxHelp() {
return JAVA_WEB_URL.concat("peko/modules/rule/newWishingWellRule.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/rule/newWishingWellRule.html");
}
/**
* 宝箱记录
*/
public static String getBoxHistory() {
return JAVA_WEB_URL.concat("/peko/modules/rank/index.html#/newWishingWellRecord");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rank/index.html#/newWishingWellRecord");
}
/**
* 获取宝箱钥匙
*/
public static String getBoxKey() {
return JAVA_WEB_URL.concat("/peko/activity/explore/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/explore/index.html");
}
/**
@@ -289,7 +289,7 @@ public class UriProvider {
* @return
*/
public static String getRedPacketRule() {
return JAVA_WEB_URL.concat("peko/modules/rule/red-packet-rule.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/rule/red-packet-rule.html");
}
@@ -299,7 +299,7 @@ public class UriProvider {
* @return
*/
public static String getDatingRule() {
return JAVA_WEB_URL.concat("/peko/modules/rule/dating.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/dating.html");
}
/**
@@ -308,7 +308,7 @@ public class UriProvider {
* @return
*/
public static String getGameShareUrl() {
return JAVA_WEB_URL.concat("/peko/modules/game/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/game/index.html");
}
/**
@@ -317,7 +317,7 @@ public class UriProvider {
* @return
*/
public static String getLinkAccountUrl() {
return JAVA_WEB_URL.concat("/peko/modules/game/bindAccount.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/game/bindAccount.html");
}
/**
@@ -326,7 +326,7 @@ public class UriProvider {
* @return
*/
public static String getLinkRoomUrl() {
return JAVA_WEB_URL.concat("/peko/modules/associateAccount/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/associateAccount/index.html");
}
@@ -334,7 +334,7 @@ public class UriProvider {
* 房间排行榜
*/
public static String getRoomRanking() {
return IM_SERVER_URL.concat("/peko/modules/room_rank/index.html?roomUid=" + AvRoomDataManager.get().getRoomUid());
return IM_SERVER_URL.concat("/anan_vestBag/modules/room_rank/index.html?roomUid=" + AvRoomDataManager.get().getRoomUid());
}
/**
@@ -343,7 +343,7 @@ public class UriProvider {
* @return
*/
public static String getSDKPermissionUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/sdk.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/sdk.html");
}
/**
@@ -352,119 +352,120 @@ public class UriProvider {
* @return
*/
public static String getDeivcePermissionUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/permissions.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/permissions.html");
}
/**
* 隐私协议-个人信息
*/
public static String getPersonalInfoUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/personal-info.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/personal-info.html");
}
/**
* 隐私指引
*/
public static String getPrivacyUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/privacy-wap.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/privacy-wap.html");
}
/**
* 贵族中心帮助页
*/
public static String getVipHelpUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/introduction-patrician.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/introduction-patrician.html");
}
/**
* 贵族榜
*/
public static String getRankListUrl() {
return JAVA_WEB_URL.concat("/peko/modules/noble/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/noble/index.html");
}
/**
* Cp装扮
*/
public static String getCpDecorationUrl() {
return JAVA_WEB_URL.concat("/peko/activity/act-nameplate-cp/index.html");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/act-nameplate-cp/index.html");
}
/**
* 用户充值协议
*/
public static String getChargeAgreementUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/rechargeAgreement.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/rechargeAgreement.html");
}
/**
* 用户注册服务协议
*/
public static String getRegistrationAgreementUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/protocol.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/protocol.html");
}
/**
* 直播服务协议
*/
public static String getLiveServiceAgreementUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/live-protocol.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/live-protocol.html");
}
/**
* 社区规范
*/
public static String getCommunitySpecificationUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/community-norms.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/community-norms.html");
}
/**
* 账号注销协议
*/
public static String getCancellationAgreementUrl() {
return JAVA_WEB_URL.concat("/peko/modules/rule/logout-agreement.html");
// return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/logout-agreement.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/logout/confirm.html");
}
/**
* 开通粉丝团
*/
public static String getFansTeamOpenUrl(long roomUid) {
return JAVA_WEB_URL.concat("/peko/modules/fans_club/nameplate.html?roomUid=" + roomUid);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/fans_club/nameplate.html?roomUid=" + roomUid);
}
/**
* 粉丝团排行
*/
public static String getFansTeamRankUrl(long roomUid) {
return JAVA_WEB_URL.concat("/peko/modules/fans_club/fans_rank.html?roomUid=" + roomUid);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/fans_club/fans_rank.html?roomUid=" + roomUid);
}
/**
* 我的粉丝团
*/
public static String getFansTeamMyFansUrl(long roomUid) {
return JAVA_WEB_URL.concat("/peko/modules/fans_club/myfans.html?roomUid=" + roomUid);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/fans_club/myfans.html?roomUid=" + roomUid);
}
/**
* 粉丝团规则
*/
public static String getFansTeamRuleUrl() {
return JAVA_WEB_URL.concat("/peko/modules/fans_club/rule.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/fans_club/rule.html");
}
/**
* 个播小时榜
*/
public static String getSingleRoomHourRankUrl(long roomUid) {
return JAVA_WEB_URL.concat("/peko/modules/room_rank/hourRank.html?roomUid=" + roomUid);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/room_rank/hourRank.html?roomUid=" + roomUid);
}
/**
* 牌照房小时榜
*/
public static String getRoomHourRankUrl(long roomUid) {
return JAVA_WEB_URL.concat("/peko/modules/room_rank/hourRankLicense.html?roomUid=" + roomUid);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/room_rank/hourRankLicense.html?roomUid=" + roomUid);
}
@@ -472,14 +473,14 @@ public class UriProvider {
* 周星榜
*/
public static String getWeekStarUrl() {
return JAVA_WEB_URL.concat("/peko/modules/weekStar/newWeekStar.html");
return JAVA_WEB_URL.concat("/anan_vestBag/modules/weekStar/newWeekStar.html");
}
/**
* 幸运礼物说明
*/
public static String getLuckyGiftRule(int giftID) {
return JAVA_WEB_URL.concat("/peko/modules/rule/luckyGiftRule.html?giftID=" + giftID);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/rule/luckyGiftRule.html?giftID=" + giftID);
}
/**
@@ -488,84 +489,84 @@ public class UriProvider {
* @return
*/
public static String getLiveAgreement() {
return JAVA_WEB_URL.concat("/peko/activity/activemodel/index.html?code=ZBGG");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/activemodel/index.html?code=ZBGG");
}
/**
* 航海帮助
*/
public static String getRadishHelp() {
return JAVA_WEB_URL.concat("/peko/activity/act-sail/play_explain.html");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/act-sail/play_explain.html");
}
/**
* 航海记录
*/
public static String getRadishHistory() {
return JAVA_WEB_URL.concat("/peko/activity/act-sail/win_record.html");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/act-sail/win_record.html");
}
/**
* 获取航海钥匙
*/
public static String getRadishKey() {
return JAVA_WEB_URL.concat("/peko/activity/act-sail/more.html");
return JAVA_WEB_URL.concat("/anan_vestBag/activity/act-sail/more.html");
}
/**
* 第三方支付
*/
public static String getOfficialPay(int type, String deviceId) {
return JAVA_WEB_URL.concat("/peko/modules/pay/index.html?channelType=" + type + "&deviceId=" + deviceId);
return JAVA_WEB_URL.concat("/anan_vestBag/modules/pay/index.html?channelType=" + type + "&deviceId=" + deviceId);
}
/**
* 钻石明细
*/
public static String getDiamondDetail() {
return JAVA_WEB_URL.concat("peko/modules/myincome/index.html#/DiamondLog");
return JAVA_WEB_URL.concat("anan_vestBag/modules/myincome/index.html#/DiamondLog");
}
/**
* 金币明细
*/
public static String getGoldDetail() {
return JAVA_WEB_URL.concat("peko/modules/myincome/index.html#/GoldLog");
return JAVA_WEB_URL.concat("anan_vestBag/modules/myincome/index.html#/GoldLog");
}
/**
* 提现记录
*/
public static String getWithdrawRecord() {
return JAVA_WEB_URL.concat("peko/modules/myincome/index.html#/GoldLog");
return JAVA_WEB_URL.concat("anan_vestBag/modules/myincome/index.html#/GoldLog");
}
/**
* 获取夺宝精灵钥匙
*/
public static String getFairyKey() {
return JAVA_WEB_URL.concat("peko/modules/act-treasureSnatching/index.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/act-treasureSnatching/index.html");
}
/**
* 夺宝精灵规则
*/
public static String getFairyRule() {
return JAVA_WEB_URL.concat("peko/modules/act-treasureSnatching/rule.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/act-treasureSnatching/rule.html");
}
/**
* 夺宝达人
*/
public static String getFairySuperior() {
return JAVA_WEB_URL.concat("peko/modules/act-treasureSnatching/list.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/act-treasureSnatching/list.html");
}
/**
* 夺宝记录
*/
public static String getFairyRecord() {
return JAVA_WEB_URL.concat("peko/modules/act-treasureSnatching/record.html");
return JAVA_WEB_URL.concat("anan_vestBag/modules/act-treasureSnatching/record.html");
}
}