From db05ff116e2a6f5a4a5af53fbc48c2100367c3ce Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 12 Nov 2024 09:48:25 +0800 Subject: [PATCH] =?UTF-8?q?HOSO=E6=8F=90=E5=8C=85=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Share/src/main/AndroidManifest.xml | 4 +- app/build.gradle | 15 +- app/src/google_online/google-services.json | 10 +- .../phonelive/activity/LauncherActivity.java | 12 +- .../java/com/yunbao/common/HtmlConfig.java | 12 +- .../common/activity/WebViewActivity.java | 3 + .../common/bean/CheckUpgradesModel.java | 4 + .../common/custom/CommonRefreshView.java | 3 + .../main/java/com/yunbao/common/http/API.java | 2 +- .../yunbao/common/http/CommonHttpConsts.java | 4 +- .../yunbao/common/http/CommonHttpUtil.java | 18 +- .../com/yunbao/common/http/HttpClient.java | 4 +- .../common/http/HttpLoggingInterceptor.java | 2 +- .../common/http/JavaConverterFactory.java | 97 +++++ .../java/com/yunbao/common/http/JsonBean.java | 50 ++- .../com/yunbao/common/http/LiveHttpUtil.java | 194 ++++------ .../com/yunbao/common/http/PDLiveApi.java | 353 +++++++++--------- .../common/http/base/GetRequestParams.java | 19 +- .../common/http/base/PostRequestParams.java | 13 +- .../yunbao/common/manager/IMLoginManager.java | 8 +- .../manager/InstructorRemarkManager.java | 2 +- .../manager/NoviceInstructorManager.java | 2 +- .../manager/imrongcloud/MessageIMManager.java | 4 +- .../imrongcloud/RongcloudIMManager.java | 2 +- .../com/yunbao/common/pay/PayPresenter.java | 2 +- .../com/yunbao/common/utils/AesUtils.java | 74 ++++ .../utils/JavascriptInterfaceUtils.java | 4 +- .../yunbao/common/utils/MicStatusManager.java | 2 +- .../com/yunbao/common/utils/RouteUtil.java | 3 +- .../yunbao/common/views/AbsViewHolder.java | 4 + .../res/drawable/backgroud_live_open_lfet.xml | 2 +- .../drawable/backgroud_live_open_right.xml | 2 +- .../res/layout/view_complete_information.xml | 2 +- .../res/mipmap-mdpi/tipbox_btn_orange.png | Bin 1193 -> 2676 bytes common/src/main/res/values-zh/strings.xml | 4 +- common/src/main/res/values/strings.xml | 2 +- config.gradle | 8 +- .../faceunity/agora/LiveFloatView.java | 2 +- .../yunbao/live/activity/LiveActivity.java | 2 +- .../live/activity/LiveAnchorActivity.java | 2 +- .../live/activity/LiveAudienceActivity.java | 4 +- .../live/activity/LiveRyAnchorActivity.java | 6 +- .../live/activity/LiveSwAnchorActivity.java | 6 +- .../live/activity/WebViewActivityMedal.java | 3 + .../live/dialog/LiveGiftDialogFragment.java | 2 +- .../com/yunbao/live/dialog/LiveGiftPopup.java | 2 +- .../dialog/LiveMicUserDialogFragment.java | 4 +- .../LiveTrickeryDialogFragment4Audience.java | 4 +- .../yunbao/live/dialog/MenuPopuwWindow.java | 2 +- .../com/yunbao/live/http/ImHttpConsts.java | 2 +- .../java/com/yunbao/live/http/ImHttpUtil.java | 24 +- .../presenter/LiveLinkMicPkPresenter.java | 8 +- .../live/presenter/LiveLinkMicPresenter.java | 2 +- .../presenter/LiveRyLinkMicPkPresenter.java | 8 +- .../presenter/LiveSwLinkMicPkPresenter.java | 18 +- .../com/yunbao/live/socket/SocketClient.java | 2 +- .../live/socket/SocketLinkMicPkUtil.java | 4 +- .../yunbao/live/socket/SocketRyClient.java | 6 +- .../live/socket/SocketRyLinkMicPkUtil.java | 4 +- .../yunbao/live/socket/SocketSwClient.java | 6 +- .../live/socket/SocketSwLinkMicPkUtil.java | 4 +- .../live/views/LiveAudienceViewHolder.java | 6 +- .../live/views/LiveNewReadySwViewHolder.java | 9 +- .../live/views/LivePlayRyViewHolder.java | 2 +- .../live/views/LivePlaySwViewHolder.java | 4 +- .../live/views/LivePushRyViewHolder.java | 16 +- .../live/views/LivePushSwViewHolder.java | 20 +- .../live/views/LivePushTxViewHolder.java | 12 +- .../yunbao/live/views/LiveRoomViewHolder.java | 8 +- .../live/views/LiveRyAnchorViewHolder.java | 6 +- .../live/views/PortraitLiveManager.java | 4 +- live/src/main/res/layout/dialog_live_task.xml | 3 +- live/src/main/res/layout/item_live_task.xml | 2 +- .../res/layout/view_receive_red_packet.xml | 2 +- main/src/main/AndroidManifest.xml | 1 + .../main/activity/EditProfileActivity.java | 2 +- .../yunbao/main/activity/EntryActivity.java | 11 +- .../yunbao/main/activity/LoginActivity.java | 2 +- .../yunbao/main/activity/MainActivity.java | 13 +- .../main/activity/MainMessageActivity.java | 47 +++ .../main/activity/MyWalletActivity.java | 52 +-- .../main/activity/RegisterActivity.java | 4 +- .../yunbao/main/activity/RewardActivity.java | 3 + .../main/adapter/MainHomeLiveAdapter.java | 32 +- .../yunbao/main/dialog/OneLoginDialog.java | 4 +- .../com/yunbao/main/http/MainHttpUtil.java | 115 +++--- .../yunbao/main/views/HonorViewHolder.java | 2 +- .../yunbao/main/views/MainGameViewHolder.java | 59 +++ .../views/MainHomeCommunityViewHolder.java | 1 - .../main/views/MainHomeGameViewHolder.java | 3 +- .../main/views/MainHomeLiveViewHolder.java | 15 +- .../yunbao/main/views/MainHomeViewHolder.java | 8 +- .../yunbao/main/views/MainMeViewHolder.java | 8 +- .../main/views/MainMessageViewHolder.java | 5 +- .../src/main/res/drawable/icon_community.webp | Bin 0 -> 2354 bytes .../main/res/drawable/icon_community_p.webp | Bin 0 -> 4322 bytes main/src/main/res/drawable/icon_home.webp | Bin 0 -> 1556 bytes main/src/main/res/drawable/icon_home_p.webp | Bin 0 -> 2560 bytes .../main/res/drawable/icon_main_start.webp | Bin 0 -> 25864 bytes main/src/main/res/drawable/icon_me.webp | Bin 0 -> 1850 bytes main/src/main/res/drawable/icon_me_p.webp | Bin 0 -> 3234 bytes main/src/main/res/drawable/icon_message.webp | Bin 0 -> 1558 bytes .../src/main/res/drawable/icon_message_p.webp | Bin 0 -> 2714 bytes main/src/main/res/layout/activity_entry.xml | 8 +- main/src/main/res/layout/view_game_holder.xml | 8 + main/src/main/res/layout/view_homemain.xml | 2 +- .../main/res/layout/view_main_community.xml | 3 +- .../res/layout/view_main_community_video.xml | 1 + main/src/main/res/layout/view_main_me.xml | 59 ++- .../src/main/res/layout/view_main_message.xml | 17 +- main/src/main/res/values/arrays.xml | 248 +----------- package_config.gradle | 4 +- .../com/yunbao/video/http/VideoHttpUtil.java | 30 +- .../video/upload/VideoUploadFtpImpl.java | 2 +- 114 files changed, 1068 insertions(+), 868 deletions(-) create mode 100644 common/src/main/java/com/yunbao/common/http/JavaConverterFactory.java create mode 100644 common/src/main/java/com/yunbao/common/utils/AesUtils.java create mode 100644 main/src/main/java/com/yunbao/main/activity/MainMessageActivity.java create mode 100644 main/src/main/java/com/yunbao/main/views/MainGameViewHolder.java create mode 100644 main/src/main/res/drawable/icon_community.webp create mode 100644 main/src/main/res/drawable/icon_community_p.webp create mode 100644 main/src/main/res/drawable/icon_home.webp create mode 100644 main/src/main/res/drawable/icon_home_p.webp create mode 100644 main/src/main/res/drawable/icon_main_start.webp create mode 100644 main/src/main/res/drawable/icon_me.webp create mode 100644 main/src/main/res/drawable/icon_me_p.webp create mode 100644 main/src/main/res/drawable/icon_message.webp create mode 100644 main/src/main/res/drawable/icon_message_p.webp create mode 100644 main/src/main/res/layout/view_game_holder.xml diff --git a/Share/src/main/AndroidManifest.xml b/Share/src/main/AndroidManifest.xml index ab3505f2b..a9e63b551 100644 --- a/Share/src/main/AndroidManifest.xml +++ b/Share/src/main/AndroidManifest.xml @@ -25,10 +25,10 @@ android:label="@string/app_name" android:screenOrientation="portrait" /> - + android:exported="true" />--> diff --git a/app/build.gradle b/app/build.gradle index 3378311dc..f229494df 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -69,11 +69,12 @@ android { exclude 'lib/armeabi-v7a/libMNN_Express.so' //美颜 if (rootProject.ext.manifestPlaceholders.isPluginModel) { - exclude 'lib/armeabi-v7a/libCNamaSDK.so' - exclude 'lib/arm64-v8a/libCNamaSDK.so' - exclude 'lib/armeabi-v7a/libfuai.so' - exclude 'lib/arm64-v8a/libfuai.so' } + //谷歌包干掉美颜 + exclude 'lib/armeabi-v7a/libCNamaSDK.so' + exclude 'lib/arm64-v8a/libCNamaSDK.so' + exclude 'lib/armeabi-v7a/libfuai.so' + exclude 'lib/arm64-v8a/libfuai.so' } compileOptions { @@ -126,8 +127,8 @@ android { variant.mergeAssetsProvider.configure { doLast { delete(fileTree(dir: outputDir, includes: ['model/ai_bgseg_green.bundle', - //'model/ai_face_processor.bundle', - //'model/ai_face_processor_lite.bundle', + 'model/ai_face_processor.bundle',//谷歌包干掉美颜 + 'model/ai_face_processor_lite.bundle',//谷歌包干掉美颜 'model/ai_hairseg.bundle', 'model/ai_hand_processor.bundle', 'model/ai_human_processor.bundle', @@ -259,7 +260,7 @@ android { //abiFilters "arm64-v8a", "x86_64" println("打包ndk 链接") } else { - abiFilters "armeabi-v7a", "arm64-v8a" + abiFilters "arm64-v8a" //abiFilters "arm64-v8a" println("打包ndk其他") } diff --git a/app/src/google_online/google-services.json b/app/src/google_online/google-services.json index 4f9023d32..ea138338f 100644 --- a/app/src/google_online/google-services.json +++ b/app/src/google_online/google-services.json @@ -9,7 +9,7 @@ "client_info": { "mobilesdk_app_id": "1:822566078854:android:9cafc8bca8f63076bf8407", "android_client_info": { - "package_name": "com.newpdlive.sy" + "package_name": "com.yhosolive.oy" } }, "oauth_client": [ @@ -17,7 +17,7 @@ "client_id": "822566078854-8c7698l64j66ijng9bq799o5qvbguhdo.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "com.newpdlive.sy", + "package_name": "com.yhosolive.oy", "certificate_hash": "e059b937bfa49d58f40fddee4c7463e03e2aae47" } }, @@ -25,7 +25,7 @@ "client_id": "822566078854-9cej31ie42tgjeimdk691gmvkavrooa7.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "com.newpdlive.sy", + "package_name": "com.yhosolive.oy", "certificate_hash": "15fc5e70cf238323bf7111c8c627803985478e87" } }, @@ -33,7 +33,7 @@ "client_id": "822566078854-c63gcmvkn2ctfct9eebuo0r4tiolloel.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "com.newpdlive.sy", + "package_name": "com.yhosolive.oy", "certificate_hash": "b66dc8d21cfcf6c729577ddcf0c312b2a31ed872" } }, @@ -41,7 +41,7 @@ "client_id": "822566078854-jfpovcealtjkv6sf0338to2grv4e5i6k.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "com.newpdlive.sy", + "package_name": "com.yhosolive.oy", "certificate_hash": "38cc19306c9facee36a9224e9a4070bc0be15c7d" } }, diff --git a/app/src/main/java/com/shayu/phonelive/activity/LauncherActivity.java b/app/src/main/java/com/shayu/phonelive/activity/LauncherActivity.java index 057386bd8..53d500534 100644 --- a/app/src/main/java/com/shayu/phonelive/activity/LauncherActivity.java +++ b/app/src/main/java/com/shayu/phonelive/activity/LauncherActivity.java @@ -135,7 +135,7 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL mBtnSkipVideo = findViewById(R.id.btn_skip_video); mBtnSkipImage.setOnClickListener(this); mBtnSkipVideo.setOnClickListener(this); - // ImgLoader.display(mContext, R.mipmap.screen, mCover); + // ImgLoader.display(mContext, R.mipmap.screen, mCover); mHandler = new Handler(getMainLooper()) { @Override public void handleMessage(Message msg) { @@ -235,8 +235,9 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL playAD(obj.getIntValue("type") == 0); } else { releaseVideo(); - LauncherActivity.this.startActivity(new Intent(LauncherActivity.this, EntryActivity.class)); - LauncherActivity.this.finish(); + Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(LauncherActivity.this, findViewById(R.id.app_logo), findViewById(R.id.app_logo).getTransitionName()).toBundle(); + LauncherActivity.this.startActivity(new Intent(LauncherActivity.this, EntryActivity.class),bundle); + new Handler(getMainLooper()).postDelayed(LauncherActivity.this::finish, 1000); } } else { checkUidAndToken(); @@ -428,6 +429,7 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL if (mContainer == null) { return; } + findViewById(R.id.app_logo).setVisibility(View.GONE); if (isImage) { int imgSize = mAdList.size(); if (imgSize > 0) { @@ -602,8 +604,8 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL } else { releaseVideo(); Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(this, findViewById(R.id.app_logo), findViewById(R.id.app_logo).getTransitionName()).toBundle(); - this.startActivity(new Intent(this, EntryActivity.class),bundle); - new Handler(getMainLooper()).postDelayed(this::finish,1000); + this.startActivity(new Intent(this, EntryActivity.class), bundle); + new Handler(getMainLooper()).postDelayed(this::finish, 1000); } } } diff --git a/common/src/main/java/com/yunbao/common/HtmlConfig.java b/common/src/main/java/com/yunbao/common/HtmlConfig.java index d128d9001..5dbca893e 100644 --- a/common/src/main/java/com/yunbao/common/HtmlConfig.java +++ b/common/src/main/java/com/yunbao/common/HtmlConfig.java @@ -7,12 +7,12 @@ package com.yunbao.common; public class HtmlConfig { //登录即代表同意服务和隐私条款 - public static final String LOGIN_PRIVCAY = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=3"; - public static final String LOGIN_PRIVCAY1 = CommonAppConfig.HOST + "/index.php?g=Portal&m=Page&a=index&id=59"; + public static final String LOGIN_PRIVCAY = CommonAppConfig.HOST + "/h5/page/index.html?id=727"; + public static final String LOGIN_PRIVCAY1 = CommonAppConfig.HOST + "/h5/page/index.html?id=726"; //注册用户协议 - public static final String REG_PRIVCAY1 = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=2"; - public static final String REG_PRIVCAY2 = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=3"; + public static final String REG_PRIVCAY1 = CommonAppConfig.HOST + "/h5/page/index.php?id=2"; + public static final String REG_PRIVCAY2 = CommonAppConfig.HOST + "/h5/page/index.php?id=3"; //直播间贡献榜 public static final String LIVE_LIST = CommonAppConfig.HOST + "/index.php?g=Appapi&m=contribute&a=index&uid="; @@ -33,7 +33,7 @@ public class HtmlConfig { public static final String LUCK_GIFT_TIP = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=26"; //直播间玩家看到的心愿单 - public static final String WISHLIST_URL = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Wish&a=index"; + public static final String WISHLIST_URL = CommonAppConfig.HOST + "/h5/wish/index.html?1=1"; //直播间玩家看到的转盘 public static final String TURNTABLE_URL = CommonAppConfig.HOST + "/Appapi/Turntable/index"; @@ -48,7 +48,7 @@ public class HtmlConfig { public static final String PERSONAL = CommonAppConfig.HOST + "/h5/shequ/index.html#/h5/shequ/Personal"; //我的徽章 右上角问号 - public static final String MEDAL_QUESTION = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Fans&a=rule&isfans=1"; + public static final String MEDAL_QUESTION = CommonAppConfig.HOST + "/h5/fans/rule.html?isfans=1"; //我的明细 public static final String DETAIL = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Detail&a=index"; diff --git a/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java b/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java index 946591739..d3a65a7cc 100644 --- a/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java +++ b/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java @@ -306,6 +306,9 @@ public class WebViewActivity extends AbsActivity { } public static void forward(Context context, String url, boolean isLive) { + if(!url.contains("?")){ + url+="?t="+System.currentTimeMillis()+"&"; + } forward(context, url, true, isLive); } diff --git a/common/src/main/java/com/yunbao/common/bean/CheckUpgradesModel.java b/common/src/main/java/com/yunbao/common/bean/CheckUpgradesModel.java index f6b5510f8..81b7304a5 100644 --- a/common/src/main/java/com/yunbao/common/bean/CheckUpgradesModel.java +++ b/common/src/main/java/com/yunbao/common/bean/CheckUpgradesModel.java @@ -2,6 +2,7 @@ package com.yunbao.common.bean; import com.google.gson.annotations.SerializedName; +import java.util.ArrayList; import java.util.List; public class CheckUpgradesModel extends BaseModel { @@ -38,6 +39,9 @@ public class CheckUpgradesModel extends BaseModel { } public List getRewards() { + if(rewards == null) { + rewards = new ArrayList<>(); + } return rewards; } diff --git a/common/src/main/java/com/yunbao/common/custom/CommonRefreshView.java b/common/src/main/java/com/yunbao/common/custom/CommonRefreshView.java index 4da3fbca8..cb0c5e65d 100644 --- a/common/src/main/java/com/yunbao/common/custom/CommonRefreshView.java +++ b/common/src/main/java/com/yunbao/common/custom/CommonRefreshView.java @@ -295,6 +295,9 @@ public class CommonRefreshView extends FrameLayout implements View.OnClickListen public void setLayoutManager(RecyclerView.LayoutManager layoutManager) { mRecyclerView.setLayoutManager(layoutManager); } + public T getLayoutManager(){ + return (T) mRecyclerView.getLayoutManager(); + } public void setItemDecoration(ItemDecoration itemDecoration) { mRecyclerView.addItemDecoration(itemDecoration); diff --git a/common/src/main/java/com/yunbao/common/http/API.java b/common/src/main/java/com/yunbao/common/http/API.java index 89c03afcb..48b662f75 100644 --- a/common/src/main/java/com/yunbao/common/http/API.java +++ b/common/src/main/java/com/yunbao/common/http/API.java @@ -80,7 +80,7 @@ public class API extends BaseApi { .addInterceptor(initQuery(isNeedUid, isNeedToken, CommonAppContext.sInstance.getApplicationContext())) .addInterceptor(loggingInterceptor); return create(builder.build(), - GsonConverterFactory.create(gson), RxJava2CallAdapterFactory.create(), CommonAppConfig.HOST, PDLiveApi.class); + JavaConverterFactory.create(gson), RxJava2CallAdapterFactory.create(), CommonAppConfig.HOST, PDLiveApi.class); } //公共参数 diff --git a/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java b/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java index 396a8f719..944c2da1e 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java @@ -20,8 +20,8 @@ public class CommonHttpConsts { public static final String DOWNLOAD_GIF = "downloadGif"; public static final String GET_BALANCE = "getBalance"; public static final String CHECK_TOKEN_INVALID = "checkTokenInvalid"; - public static final String NOTIFY_GOOGLE = "Charge.google_pay"; - public static final String COMMUNITY_SETREPORT = "Community.setReport"; + public static final String NOTIFY_GOOGLE = "gugezhifuhuidiao"; + public static final String COMMUNITY_SETREPORT = "yonghushequdongtaijubao"; public static final String GET_USER_HOME = "getUserHome"; public static final String GET_USER_BASEINFO = "getUserBaseinfo"; diff --git a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java index b03530634..e52db9dfe 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java @@ -175,7 +175,7 @@ public class CommonHttpUtil { } Log.i("来了", lang); //或者仅仅使用 locale = Locale.getDefault(); 不需要考虑接口 deprecated(弃用)问题 - HttpClient.getInstance().get("Home.getConfig", CommonHttpConsts.GET_CONFIG).params("langue", lang).params("version", "" + VersionUtil.getVersion()).params("from", "android").params("appType", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("huoquzhuyepeizhixinxi", CommonHttpConsts.GET_CONFIG).params("langue", lang).params("version", "" + VersionUtil.getVersion()).params("from", "android").params("appType", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0) { @@ -305,7 +305,7 @@ public class CommonHttpUtil { ToastUtil.show(WordUtil.getString(R.string.cannot_follow_self)); return; } - HttpClient.getInstance().get("User.setAttents", tag).params("touid", touid).execute(new HttpCallback() { + HttpClient.getInstance().get("caozuoguanzhuzhuangtaiv2", tag).params("touid", touid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0 || code == 1001) { @@ -340,7 +340,7 @@ public class CommonHttpUtil { } else { isGoogle = "-1"; } - HttpClient.getInstance().get("User.getBalance", CommonHttpConsts.GET_BALANCE).params("type", 0).params("isGooglePay", isGoogle).execute(callback); + HttpClient.getInstance().get("huoquwodezuanshi", CommonHttpConsts.GET_BALANCE).params("type", 0).params("isGooglePay", isGoogle).execute(callback); } /** @@ -389,7 +389,7 @@ public class CommonHttpUtil { * 检查token是否失效 */ public static void checkTokenInvalid() { - HttpClient.getInstance().get("User.ifToken", CommonHttpConsts.CHECK_TOKEN_INVALID).execute(NO_CALLBACK); + HttpClient.getInstance().get("shezhijiaoyouzhaopianzhuangtai", CommonHttpConsts.CHECK_TOKEN_INVALID).execute(NO_CALLBACK); } @@ -405,11 +405,11 @@ public class CommonHttpUtil { } public static void Google_sec_pay(String purchaseToken, String orderNo, String tradeNo, HttpCallback callback) { - HttpClient.getInstance().get("Charge.Google_sec_pay", "Charge.Google_sec_pay").params("purchaseToken", purchaseToken).params("orderno", orderNo).params("trade_no", tradeNo).params("package_name", AppManager.getInstance().getMainActivity().getPackageName()).execute(callback); + HttpClient.getInstance().get("gugedingdanyanzheng", "gugedingdanyanzheng").params("purchaseToken", purchaseToken).params("orderno", orderNo).params("trade_no", tradeNo).params("package_name", AppManager.getInstance().getMainActivity().getPackageName()).execute(callback); } public static void notifySamsung(String purchaseId, String selfOrderId,HttpCallback callback) { - HttpClient.getInstance().get("Charge.SamsungNotify", "Charge.SamsungNotify") + HttpClient.getInstance().get("sanxingzhifuhuidiao", "sanxingzhifuhuidiao") .params("purchaseID", purchaseId) .params("SelfOrderId", selfOrderId) .params("PackageName", "pd") @@ -450,13 +450,13 @@ public class CommonHttpUtil { * 用户个人主页信息 */ public static void getUserBaseinfo(String touid, HttpCallback callback) { - HttpClient.getInstance().get("User.getUserBaseinfo", CommonHttpConsts.GET_USER_BASEINFO).params("touid", touid).execute(callback); + HttpClient.getInstance().get("huoquyonghujichuxinxi", CommonHttpConsts.GET_USER_BASEINFO).params("touid", touid).execute(callback); } /** * 上传文件 获取七牛云token的接口 */ public static void getUploadQiNiuToken(HttpCallback callback, boolean isImg) { - HttpClient.getInstance().get("Pdluserhome.getQiNiuToken2", "Pdluserhome.getQiNiuToken2") + HttpClient.getInstance().get("huoquqiniushangchuanlingpaiv2", "huoquqiniushangchuanlingpaiv2") .params("uid", CommonAppConfig.getInstance().getUid()) .params("token", CommonAppConfig.getInstance().getToken()) .params("ext", isImg ? ".jpeg" : ".mp4") @@ -469,7 +469,7 @@ public class CommonHttpUtil { if(StringUtil.isEmpty(uid)){ uid="NotLogin_"+ DeviceUtils.getUniqueDeviceId(); } - HttpClient.getInstance().get("Pdluserhome.getQiNiuToken3", "Pdluserhome.getQiNiuToken3") + HttpClient.getInstance().get("huoquqiniushangchuanlingpaiv3", "huoquqiniushangchuanlingpaiv3") .params("uid",uid) .params("token", CommonAppConfig.getInstance().getToken()) .params("file_name", fileName) diff --git a/common/src/main/java/com/yunbao/common/http/HttpClient.java b/common/src/main/java/com/yunbao/common/http/HttpClient.java index 0378dc175..446234e4f 100644 --- a/common/src/main/java/com/yunbao/common/http/HttpClient.java +++ b/common/src/main/java/com/yunbao/common/http/HttpClient.java @@ -34,7 +34,7 @@ public class HttpClient { private String mUrl; private HttpClient() { - mUrl = CommonAppConfig.HOST + "/api/public/?service="; + mUrl = CommonAppConfig.HOST + "/"; } public static HttpClient getInstance() { @@ -69,6 +69,7 @@ public class HttpClient { } public GetRequest get(String serviceName, String tag) { + serviceName=serviceName+"hs"; Context context = CommonAppContext.sInstance.getApplicationContext(); //拼装基本信息 Map map = new HashMap<>(); @@ -112,6 +113,7 @@ public class HttpClient { } public PostRequest post(String serviceName, String tag) { + serviceName=serviceName+"hs"; Context context = CommonAppContext.sInstance.getApplicationContext(); //拼装基本信息 Map map = new HashMap<>(); diff --git a/common/src/main/java/com/yunbao/common/http/HttpLoggingInterceptor.java b/common/src/main/java/com/yunbao/common/http/HttpLoggingInterceptor.java index 74acc0e19..f81bad54f 100644 --- a/common/src/main/java/com/yunbao/common/http/HttpLoggingInterceptor.java +++ b/common/src/main/java/com/yunbao/common/http/HttpLoggingInterceptor.java @@ -135,7 +135,7 @@ public class HttpLoggingInterceptor implements Interceptor { boolean logHeaders = (printLevel == Level.BODY || printLevel == Level.HEADERS); StringBuilder sb=new StringBuilder(); try { - sb.append("<-- ").append(clone.code()) + sb.append("<-- ").append("HTTP结果").append(clone.code()) .append(' ').append(clone.message()) .append(' ').append(clone.request().url()) .append(" (").append(tookMs).append("ms)\n"); diff --git a/common/src/main/java/com/yunbao/common/http/JavaConverterFactory.java b/common/src/main/java/com/yunbao/common/http/JavaConverterFactory.java new file mode 100644 index 000000000..070c97d24 --- /dev/null +++ b/common/src/main/java/com/yunbao/common/http/JavaConverterFactory.java @@ -0,0 +1,97 @@ +package com.yunbao.common.http; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import com.google.gson.Gson; +import com.google.gson.TypeAdapter; +import com.google.gson.reflect.TypeToken; +import com.yunbao.common.utils.AesUtils; +import com.yunbao.common.utils.L; + +import java.io.IOException; +import java.lang.annotation.Annotation; +import java.lang.reflect.Type; +import java.util.Base64; + +import okhttp3.RequestBody; +import okhttp3.ResponseBody; +import retrofit2.Converter; +import retrofit2.Retrofit; + +public final class JavaConverterFactory extends Converter.Factory { + /** + * Create an instance using a default {@link Gson} instance for conversion. Encoding to JSON and + * decoding from JSON (when no charset is specified by a header) will use UTF-8. + */ + public static JavaConverterFactory create() { + return create(new Gson()); + } + + /** + * Create an instance using {@code gson} for conversion. Encoding to JSON and + * decoding from JSON (when no charset is specified by a header) will use UTF-8. + */ + public static JavaConverterFactory create(Gson gson) { + return new JavaConverterFactory(gson); + } + + private final Gson gson; + + private JavaConverterFactory(Gson gson) { + if (gson == null) throw new NullPointerException("gson == null"); + this.gson = gson; + } + + @Override + public Converter responseBodyConverter(Type type, Annotation[] annotations, + Retrofit retrofit) { + TypeAdapter adapter = gson.getAdapter(TypeToken.get(type)); + return new JsonResponseBodyConverter<>(gson, adapter); + } + + + @Override + public Converter requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit) { + return super.requestBodyConverter(type, parameterAnnotations, methodAnnotations, retrofit); + } + + final class JsonResponseBodyConverter implements Converter { + private final Gson gson; + private final TypeAdapter adapter; + JsonResponseBodyConverter(Gson gson, TypeAdapter adapter) { + this.gson = gson; + this.adapter = adapter; + } + + @Override + public T convert(ResponseBody value) throws IOException { + String response = value.string(); + String allResponseData; + L.e("解密前::"+response); + JSONObject jsonObject = JSONObject.parseObject(response); + if(jsonObject!=null){ + allResponseData = jsonObject.getString("data"); + if(allResponseData!=null){ + byte[] decodedData = null; + if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { + decodedData = Base64.getDecoder().decode(allResponseData); + } + response = AesUtils.decryptToString(decodedData); + } + } + jsonObject.put("data",JSONObject.parseObject(response)); + + response = JSON.toJSONString(jsonObject); + L.e("解密后::"+ response); + //获取加密数据,解密,之后再让adapter去处理json串,解析具体的数据就可以了 + try{ + return adapter.fromJson(response); + } catch (Exception e) { + e.printStackTrace(); + } finally { + value.close(); + } + return null; + } + } +} \ No newline at end of file diff --git a/common/src/main/java/com/yunbao/common/http/JsonBean.java b/common/src/main/java/com/yunbao/common/http/JsonBean.java index 392fe4e60..c9d1bb9f9 100644 --- a/common/src/main/java/com/yunbao/common/http/JsonBean.java +++ b/common/src/main/java/com/yunbao/common/http/JsonBean.java @@ -1,5 +1,18 @@ package com.yunbao.common.http; +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONException; +import com.alibaba.fastjson.JSONObject; +import com.blankj.utilcode.util.GsonUtils; +import com.google.gson.Gson; +import com.yunbao.common.bean.AdBean; +import com.yunbao.common.utils.AesUtils; +import com.yunbao.common.utils.L; + +import java.util.Base64; +import java.util.List; + /** * Created by cxf on 2017/8/5. */ @@ -7,7 +20,7 @@ package com.yunbao.common.http; public class JsonBean { private int ret; private String msg; - private Data data; + private String data; public int getRet() { return ret; @@ -26,10 +39,41 @@ public class JsonBean { } public Data getData() { - return data; + if(data.indexOf(":")>0){ + return GsonUtils.fromJson(data,Data.class); + }else{ + Data resultData = new Data(); + byte[] decodedData = null; + if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { + decodedData = Base64.getDecoder().decode(data); + } + String decryptedText = AesUtils.decryptToString(decodedData); + JSONObject object = JSON.parseObject(decryptedText); + try { + JSONArray jsonArray = object.getJSONArray("info"); + String [] array = new String[jsonArray.size()]; + for (int i = 0; i request = HttpClient.getInstance().post("Live.setReport", LiveHttpConsts.SET_REPORT) + PostRequest request = HttpClient.getInstance().post("yonghujubao", LiveHttpConsts.SET_REPORT) .isMultipart(true) .params("touid", touid) .params("report_argument", report_argument) @@ -268,7 +268,7 @@ public class LiveHttpUtil { * 直播间点击聊天列表和头像出现的弹窗 */ public static void getLiveUser(String touid, String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Live.getPop", LiveHttpConsts.GET_LIVE_USER) + HttpClient.getInstance().get("zhibojiantanchuangxinxi", LiveHttpConsts.GET_LIVE_USER) .params("touid", touid) .params("liveuid", liveUid) .execute(callback); @@ -278,7 +278,7 @@ public class LiveHttpUtil { * 主播或管理员踢人 */ public static void kicking(String liveUid, String touid, HttpCallback callback) { - HttpClient.getInstance().get("Live.kicking", LiveHttpConsts.KICKING) + HttpClient.getInstance().get("zhibojiantiren", LiveHttpConsts.KICKING) .params("liveuid", liveUid) .params("touid", touid) .execute(callback); @@ -294,7 +294,7 @@ public class LiveHttpUtil { * @param time 禁言时间 (分) */ public static void setShutUp(String liveUid, String stream, int type, String touid, String time, HttpCallback callback) { - GetRequest request = HttpClient.getInstance().get("Live.setShutUp", LiveHttpConsts.SET_SHUT_UP) + GetRequest request = HttpClient.getInstance().get("zhibojianjinyan", LiveHttpConsts.SET_SHUT_UP) .params("liveuid", liveUid) .params("stream", stream) .params("type", type) @@ -312,7 +312,7 @@ public class LiveHttpUtil { * @param type 0表示关闭当前直播 1表示禁播,2表示封禁账号 */ public static void superCloseRoom(String liveUid, int type, HttpCallback callback) { - HttpClient.getInstance().get("Live.superStopRoom", LiveHttpConsts.SUPER_CLOSE_ROOM) + HttpClient.getInstance().get("chaoguanguanbo", LiveHttpConsts.SUPER_CLOSE_ROOM) .params("liveuid", liveUid) .params("type", type) .execute(callback); @@ -323,7 +323,7 @@ public class LiveHttpUtil { * 守护商品类型列表 */ public static void getGuardBuyList(HttpCallback callback) { - HttpClient.getInstance().get("Guard.getList", LiveHttpConsts.GET_GUARD_BUY_LIST) + HttpClient.getInstance().get("shouhuliebiaov2", LiveHttpConsts.GET_GUARD_BUY_LIST) .execute(callback); } @@ -331,7 +331,7 @@ public class LiveHttpUtil { * 购买守护接口 */ public static void buyGuard(String liveUid, String stream, int guardId, int cid, HttpCallback callback) { - GetRequest request = HttpClient.getInstance().get("Guard.buyGuard", LiveHttpConsts.BUY_GUARD) + GetRequest request = HttpClient.getInstance().get("goumaishouhu", LiveHttpConsts.BUY_GUARD) .params("liveuid", liveUid) .params("stream", stream) .params("guardid", guardId); @@ -347,13 +347,13 @@ public class LiveHttpUtil { * 查看主播的守护列表 */ public static void getGuardList(String liveUid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Guard.getGuardList", LiveHttpConsts.GET_GUARD_LIST) + HttpClient.getInstance().get("shouhuliebiao", LiveHttpConsts.GET_GUARD_LIST) .params("liveuid", liveUid) .params("p", p) .execute(callback); } public static void getContactMsg(int page, HttpCallback callback) { - HttpClient.getInstance().get("Live.getContactMsg", "getContactMsg") + HttpClient.getInstance().get("huoqulianxifangshixiaoxi", "huoqulianxifangshixiaoxi") .params("p", page) .execute(callback); } @@ -362,7 +362,7 @@ public class LiveHttpUtil { * 观众跟主播连麦时,获取自己的流地址 */ public static void getLinkMicStream(HttpCallback callback) { - HttpClient.getInstance().get("Linkmic.requestLVBAddrForLinkMic", LiveHttpConsts.GET_LINK_MIC_STREAM) + HttpClient.getInstance().get("lianmaituilaliudizhi", LiveHttpConsts.GET_LINK_MIC_STREAM) .execute(callback); } @@ -373,7 +373,7 @@ public class LiveHttpUtil { * @param pull_url 连麦用户播流地址 */ public static void linkMicShowVideo(String touid, String pull_url) { - HttpClient.getInstance().get("Live.showVideo", LiveHttpConsts.LINK_MIC_SHOW_VIDEO) + HttpClient.getInstance().get("lianmaixinxi", LiveHttpConsts.LINK_MIC_SHOW_VIDEO) .params("liveuid", CommonAppConfig.getInstance().getUid()) .params("touid", touid) .params("pull_url", pull_url) @@ -389,7 +389,7 @@ public class LiveHttpUtil { * 主播设置是否允许观众发起连麦 */ public static void setLinkMicEnable(boolean linkMicEnable, HttpCallback callback) { - HttpClient.getInstance().get("Linkmic.setMic", LiveHttpConsts.SET_LINK_MIC_ENABLE) + HttpClient.getInstance().get("shezhilianmaikaiguan", LiveHttpConsts.SET_LINK_MIC_ENABLE) .params("ismic", linkMicEnable ? 1 : 0) .execute(callback); } @@ -399,7 +399,7 @@ public class LiveHttpUtil { * 观众检查主播是否允许连麦 */ public static void checkLinkMicEnable(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Linkmic.isMic", LiveHttpConsts.CHECK_LINK_MIC_ENABLE) + HttpClient.getInstance().get("panduanzhubaoshifoukaiqilianmai", LiveHttpConsts.CHECK_LINK_MIC_ENABLE) .params("liveuid", liveUid) .execute(callback); } @@ -408,7 +408,7 @@ public class LiveHttpUtil { * 连麦pk检查对方主播在线状态 */ public static void livePkCheckLive(String liveUid, String stream, String uidStream, HttpCallback callback) { - HttpClient.getInstance().get("Home.getisPk", "Home.getisPk") + HttpClient.getInstance().get("huoqupkzhuangtai", "huoqupkzhuangtai") .params("uid", liveUid, true) // .params("token", CommonAppConfig.getInstance().getToken()) // .params("liveuid", liveUid) @@ -473,7 +473,7 @@ public class LiveHttpUtil { * 发送弹幕 */ public static void sendDanmu(String content, String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendBarrage", LiveHttpConsts.SEND_DANMU) + HttpClient.getInstance().get("fasongdanmu", LiveHttpConsts.SEND_DANMU) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", "1") @@ -489,7 +489,7 @@ public class LiveHttpUtil { * @param stream 主播的stream */ public static void checkLive(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.checkLive", LiveHttpConsts.CHECK_LIVE) + HttpClient.getInstance().get("jianchazhibo", LiveHttpConsts.CHECK_LIVE) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); @@ -500,33 +500,13 @@ public class LiveHttpUtil { * 观众进入直播间 */ public static void enterRoom(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.enterRoom", LiveHttpConsts.ENTER_ROOM) + HttpClient.getInstance().get("jinruzhibojian", LiveHttpConsts.ENTER_ROOM) .params("city", CommonAppConfig.getInstance().getCity()) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); } - /** - * 观众进入直播间后,还要请求一次 - */ - public static void enterBackRoom(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Tx.userjoinroom", "Tx.userjoinroom") - .params("GroupId", "g" + liveUid) - .params("stream", stream) - .execute(callback); - } - - /** - * 观众退出直播间后,还要请求一次 - */ - public static void qBackRoom(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Tx.leave_room", "Tx.leave_room") - .params("GroupId", "g" + liveUid) - .params("stream", stream) - .execute(callback); - } - /** * 获取礼物列表,同时会返回剩余的钱 */ @@ -539,14 +519,14 @@ public class LiveHttpUtil { * 获取礼物列表,同时会返回剩余的钱(新版) */ public static void getNewGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Live.getGiftListApp", LiveHttpConsts.GET_GIFT_LIST) + HttpClient.getInstance().get("zhibojianliwuxinxi", LiveHttpConsts.GET_GIFT_LIST) .execute(callback); } /** * 获取礼物列表,同时会返回剩余的钱(新版) -用于获取联系方式时的礼物设置 */ public static void getHotGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Gift.getHotGiftList", LiveHttpConsts.GET_GIFT_LIST) + HttpClient.getInstance().get("huoqusuoyouremenliwu", LiveHttpConsts.GET_GIFT_LIST) .execute(callback); } @@ -554,7 +534,7 @@ public class LiveHttpUtil { * 获取包裹列表 */ public static void getWrapList(HttpCallback callback) { - HttpClient.getInstance().get("Live.getPackList", LiveHttpConsts.GET_WRAP_LIST) + HttpClient.getInstance().get("zhibojianbaoguoxinxi", LiveHttpConsts.GET_WRAP_LIST) .execute(callback); } @@ -562,7 +542,7 @@ public class LiveHttpUtil { * 主播获取心愿单列表 */ public static void getWishList(HttpCallback callback) { - HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) + HttpClient.getInstance().get("huoquxinyuandan", LiveHttpConsts.GET_WISH_LIST) .execute(callback); } @@ -570,7 +550,7 @@ public class LiveHttpUtil { * 用户获取主播的心愿单列表 */ public static void getWishList(String liveId, HttpCallback callback) { - HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) + HttpClient.getInstance().get("huoquxinyuandan", LiveHttpConsts.GET_WISH_LIST) .params("uid", liveId, true) .execute(callback); } @@ -581,7 +561,7 @@ public class LiveHttpUtil { * @param callback */ public static void getFrontTask(HttpCallback callback) { - HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask") + HttpClient.getInstance().get("huoquxinshouyindaozhuangtai", "huoquxinshouyindaozhuangtai") .execute(callback); } @@ -591,7 +571,7 @@ public class LiveHttpUtil { * @param callback */ public static void getFrontTask(String Token, String uid, HttpCallback callback) { - HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask") + HttpClient.getInstance().get("huoquxinshouyindaozhuangtai", "huoquxinshouyindaozhuangtai") .params("token", Token, true) .params("uid", uid, true) .execute(callback); @@ -601,7 +581,7 @@ public class LiveHttpUtil { * 完成新手任務 */ public static void setFrontTask(String type, HttpCallback callback) { - HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask") + HttpClient.getInstance().get("shezhixinshouyindaozhuangtai", "shezhixinshouyindaozhuangtai") .params("type", type) .execute(callback); } @@ -610,7 +590,7 @@ public class LiveHttpUtil { * 完成新手任務 */ public static void setFrontTask(String type, String liveuid, HttpCallback callback) { - HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask") + HttpClient.getInstance().get("shezhixinshouyindaozhuangtai", "shezhixinshouyindaozhuangtai") .params("type", type) .params("liveuid", liveuid) .execute(callback); @@ -620,7 +600,7 @@ public class LiveHttpUtil { * 修改心愿单列表 */ public static void modifyWishList(String list, HttpCallback callback) { - HttpClient.getInstance().get("Guide.setWishlist", LiveHttpConsts.SET_WISH_LIST) + HttpClient.getInstance().get("shezhixinyuandan", LiveHttpConsts.SET_WISH_LIST) .params("list", list) .execute(callback); } @@ -642,7 +622,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGift(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendGift", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zhibojianzengsongliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -659,7 +639,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGiftForPage(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendPackGift", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zhibojianzengsongbaoguoliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -676,7 +656,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGiftForFansGroup(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.fansExclusivePack", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zengsongfensituanbaoguoliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -688,7 +668,7 @@ public class LiveHttpUtil { .execute(callback); } public static void sendBlindBoxTicket(String by, String liveUid, String stream, int giftId, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendBlindBoxTicket", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("mangheshiyongquan", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -717,7 +697,7 @@ public class LiveHttpUtil { * 点亮發IM */ public static void sendZAN(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Fans.doubleClickLight", "Fans.DoubleClickLight") + HttpClient.getInstance().get("shuangjidianliang", "shuangjidianliang") .params("liveuid", liveUid) .execute(callback); } @@ -726,7 +706,7 @@ public class LiveHttpUtil { * 连麦pk搜索主播 */ public static void livePkSearchAnchor(String key, int p, HttpCallback callback) { - HttpClient.getInstance().get("Livepk.search", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR) + HttpClient.getInstance().get("sousuozhiboyonghu", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR) .params("key", key) .params("p", p) .execute(callback); @@ -737,7 +717,7 @@ public class LiveHttpUtil { * 获取主播连麦pk列表 */ public static void getLivePkList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Livepk.getLiveList", LiveHttpConsts.GET_LIVE_PK_LIST) + HttpClient.getInstance().get("huoquzhiboyonghuliebiao", LiveHttpConsts.GET_LIVE_PK_LIST) .params("p", p) .execute(callback); } @@ -774,7 +754,7 @@ public class LiveHttpUtil { */ public static void newcreateRoom(String title, int liveClassId, int type, int typeVal, File file, int clarityType,boolean isSw, HttpCallback callback) { - PostRequest request = HttpClient.getInstance().post("Live.createRoom2", LiveHttpConsts.CREATE_ROOM) + PostRequest request = HttpClient.getInstance().post("chuangjianzhibov2", LiveHttpConsts.CREATE_ROOM) .params("title", title) .params("liveclassid", liveClassId) .params("type", type) @@ -793,7 +773,7 @@ public class LiveHttpUtil { * 修改直播状态 */ public static void changeLive(String stream) { - HttpClient.getInstance().get("Live.changeLive", LiveHttpConsts.CHANGE_LIVE) + HttpClient.getInstance().get("xiugaizhibozhuangtai", LiveHttpConsts.CHANGE_LIVE) .params("stream", stream) .params("status", "1") .execute(new HttpCallback() { @@ -808,7 +788,7 @@ public class LiveHttpUtil { * 主播结束直播 */ public static void stopLive(String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.stopRoom", LiveHttpConsts.STOP_LIVE) + HttpClient.getInstance().get("guanbizhibo", LiveHttpConsts.STOP_LIVE) .params("stream", stream) .execute(callback); } @@ -817,12 +797,12 @@ public class LiveHttpUtil { * 主播开播前获取sdk类型 0金山 1腾讯 */ public static void getLiveSdk(HttpCallback callback) { - HttpClient.getInstance().get("Live.getSDK", LiveHttpConsts.GET_LIVE_SDK) + HttpClient.getInstance().get("huoqusdk", LiveHttpConsts.GET_LIVE_SDK) .execute(callback); } public static void getisRong(HttpCallback callback) { - HttpClient.getInstance().get("Live.isRong", "Live.isRong") + HttpClient.getInstance().get("shifouweirongyunzhubo", "shifouweirongyunzhubo") .execute(callback); } @@ -831,7 +811,7 @@ public class LiveHttpUtil { * @param callback */ public static void getIsSw(HttpCallback callback) { - HttpClient.getInstance().get("Tx.setRtcFirm", "Tx.setRtcFirm") + HttpClient.getInstance().get("shezhiyuanshengduanshengwangpeizhi", "shezhiyuanshengduanshengwangpeizhi") .execute(callback); } @@ -839,7 +819,7 @@ public class LiveHttpUtil { * 腾讯sdk 跟主播连麦时,获取主播的低延时流 */ public static void getTxLinkMicAccUrl(String originStreamUrl, HttpCallback callback) { - HttpClient.getInstance().get("Linkmic.requestPlayUrlWithSignForLinkMic", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL) + HttpClient.getInstance().get("jianquanliudizhi", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL) .params("originStreamUrl", originStreamUrl) .execute(callback); } @@ -849,7 +829,7 @@ public class LiveHttpUtil { * 连麦时候 主播混流 */ public static void linkMicTxMixStream(String mergeparams) { - HttpClient.getInstance().get("Linkmic.mergeVideoStream", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM) + HttpClient.getInstance().get("lianmaihunliu", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM) .params("mergeparams", mergeparams) .execute(CommonHttpUtil.NO_CALLBACK); } @@ -859,7 +839,7 @@ public class LiveHttpUtil { * 我是哪些直播间的管理员,返回这些直播间列表 */ public static void getMyAdminRoomList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Livemanage.getRoomList", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST) + HttpClient.getInstance().get("huoquwodefangjian", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST) .params("p", p) .execute(callback); } @@ -869,7 +849,7 @@ public class LiveHttpUtil { * 获取直播间奖池等级 */ public static void getLiveGiftPrizePool(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Jackpot.getJackpot", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL) + HttpClient.getInstance().get("huoquyindaoyexinxi", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); @@ -879,7 +859,7 @@ public class LiveHttpUtil { * 主播checkLive */ public static void anchorCheckLive(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.checkLiveing", LiveHttpConsts.ANCHOR_CHECK_LIVE) + HttpClient.getInstance().get("jiancefangjiangzhuangtai", LiveHttpConsts.ANCHOR_CHECK_LIVE) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); @@ -890,7 +870,7 @@ public class LiveHttpUtil { * 获取直播间信息 */ public static void getLiveInfo(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Live.getLiveInfo", LiveHttpConsts.GET_LIVE_INFO) + HttpClient.getInstance().get("huoquzhiboxinxi", LiveHttpConsts.GET_LIVE_INFO) .params("liveuid", liveUid) .execute(callback); } @@ -901,7 +881,7 @@ public class LiveHttpUtil { */ public static void getHcGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Live.getSvgaList", LiveHttpConsts.GET_GIFT_LIST) + HttpClient.getInstance().get("huoquliwudonghualiebiao", LiveHttpConsts.GET_GIFT_LIST) .execute(callback); } @@ -911,7 +891,7 @@ public class LiveHttpUtil { */ public static void getHczGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Home.aoto_load", "Home.aoto_load") + HttpClient.getInstance().get("yuxiazai", "yuxiazai") .execute(callback); } @@ -920,29 +900,21 @@ public class LiveHttpUtil { * 获取活动 */ public static void geteEvent(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Rank.isActivity", LiveHttpConsts.GET_EVENT) + HttpClient.getInstance().get("huodongpeizhixinxi", LiveHttpConsts.GET_EVENT) .params("anchorUid", anchor_id) .execute(callback); } public static void getAnchorActiveImgStatus(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.getAnchorActiveImgStatus", LiveHttpConsts.GET_EVENT) + HttpClient.getInstance().get("huoquzhuboxunfuchuangzhuangtai", LiveHttpConsts.GET_EVENT) .params("anchorUid", anchor_id) .execute(callback); } - /** - * 重置活动 - */ - public static void setEvent(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Rank.crystalTimeEnd", LiveHttpConsts.GET_EVENT) - .params("anchor_id", anchor_id) - .execute(callback); - } /** * 整蛊转盘拯救主播 */ public static void userHopePrankTurntable(String anchor_id, String prankid, HttpCallback callback) { - HttpClient.getInstance().get("Prank.userHopePrankTurntable", LiveHttpConsts.USERHOPEPRANKTURNTABLE) + HttpClient.getInstance().get("yonghuzhengjiuzhubo", LiveHttpConsts.USERHOPEPRANKTURNTABLE) .params("prankid", prankid) .params("anchor_id", anchor_id) .execute(callback); @@ -952,7 +924,7 @@ public class LiveHttpUtil { * 倒计时结束 */ public static void endPrankTurntable(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Prank.endPrankTurntable", LiveHttpConsts.ENDPRANKTURNTABLE) + HttpClient.getInstance().get("zhenggudaojishijieshu", LiveHttpConsts.ENDPRANKTURNTABLE) .params("anchor_id", anchor_id) .execute(callback); } @@ -961,7 +933,7 @@ public class LiveHttpUtil { * 周星榜数据 */ public static void getAnchorLastWeekList(HttpCallback callback) { - HttpClient.getInstance().get("WeekStar.getAnchorLastWeekList", LiveHttpConsts.GETANCHORLASTWEEKLIST) + HttpClient.getInstance().get("huoqushangzhouzhouxingbangzhubo", LiveHttpConsts.GETANCHORLASTWEEKLIST) .execute(callback); } @@ -969,7 +941,7 @@ public class LiveHttpUtil { * 热度加成列表 */ public static void useHotCardUserList(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.useHotCardUserList", LiveHttpConsts.USEHOTCARDUSERLIST) + HttpClient.getInstance().get("redukayonghuliebiao", LiveHttpConsts.USEHOTCARDUSERLIST) .params("anchor_id", anchor_id) .execute(callback); } @@ -978,7 +950,7 @@ public class LiveHttpUtil { * 是否有热度加成 */ public static void isHotCard(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.isHotCard", LiveHttpConsts.ISHOTCARD) + HttpClient.getInstance().get("zhibozhongshifoushiyongreduka", LiveHttpConsts.ISHOTCARD) .params("anchor_id", anchor_id) .execute(callback); } @@ -987,7 +959,7 @@ public class LiveHttpUtil { * 修改im备注信息 */ public static void setInstructorRemark(String touid, String remark, HttpCallback callback) { - HttpClient.getInstance().get("User.setInstructorRemark", LiveHttpConsts.SETINSTRUCTORREMARK) + HttpClient.getInstance().get("shezhiyonghubeizhuming", LiveHttpConsts.SETINSTRUCTORREMARK) .params("touid", touid) .params("remark", remark) .execute(callback); @@ -997,7 +969,7 @@ public class LiveHttpUtil { * 获取用户贵族喇叭的数量 */ public static void getNobleTrumpetNum(HttpCallback callback) { - HttpClient.getInstance().get("Noble.getNobleTrumpetNum", "getNobleTrumpetNum") + HttpClient.getInstance().get("huoquguizulabashuliang", "huoquguizulabashuliang") .execute(callback); } @@ -1005,7 +977,7 @@ public class LiveHttpUtil { * 获取用户贵族喇叭的数量 */ public static void nobleUseTrumpet(String trumpet_msg, String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Noble.nobleUseTrumpet", "nobleUseTrumpet") + HttpClient.getInstance().get("guizushiyonglaba", "guizushiyonglaba") .params("", trumpet_msg) .params("", anchor_id) .execute(callback); @@ -1015,7 +987,7 @@ public class LiveHttpUtil { * 获取用户贵族喇叭的数量 */ public static void getStarChallengeStatus(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("StarChallenge.getStarChallengeStatus", "StarChallengeStatus") + HttpClient.getInstance().get("huoquxingjitiaozhanzhuangtai", "huoquxingjitiaozhanzhuangtai") .params("liveUid", liveUid) .execute(callback); } @@ -1024,14 +996,14 @@ public class LiveHttpUtil { * 首页关注直播 */ public static void getHomeFollow(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getFollow", "Home.getFollow") + HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", "huoquguanzhuzhuboliebiao") .params("p", p) .execute(callback); } public static void getRoomList(String sudGameId, String threshold, String roomHolderType, String liveUid, String currencyType, int page, HttpCallback callback) { - HttpClient.getInstance().get("Sudgameserver.getRoomList", "Sudgameserver.getRoomList") + HttpClient.getInstance().get("huoquyouxiliebiao", "huoquyouxiliebiao") .params("sud_game_id", sudGameId) .params("threshold", threshold) .params("room_holder_type", roomHolderType) @@ -1051,7 +1023,7 @@ public class LiveHttpUtil { * @param callback */ public static void gameRecord(String sudGameId, String currencyType, String dateType, int page, HttpCallback callback) { - HttpClient.getInstance().get("Sudgameserver.gameRecord", "Sudgameserver.gameRecord") + HttpClient.getInstance().get("chaxunyouxijilu", "chaxunyouxijilu") .params("sud_game_id", sudGameId) .params("currency_type", currencyType) .params("date_type", dateType) @@ -1063,7 +1035,7 @@ public class LiveHttpUtil { * 获取短剧Url */ public static void getCoolydrama(HttpCallback callback){ - HttpClient.getInstance().get("cool.register", "Home.getFollow") + HttpClient.getInstance().get("duanjuzhanghaozhuce", "duanjuzhanghaozhuce") .params("lang", WordUtil.isNewZh()?"zh_CN":"en") .execute(callback); } diff --git a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java index cdbdb409e..e9b4f99b3 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -122,7 +122,7 @@ public interface PDLiveApi { * @return */ @FormUrlEncoded - @POST("/api/public/?service=Login.userLogin") + @POST("/huiyuandenglu") Observable> loginByManager( @Field("user_login") String userName, @Field("user_pass") String passWord, @@ -137,7 +137,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Noble.getNobleTrumpetNum") + @GET("/huoquguizulabashuliang") Observable> getNobleTrumpetNum(); /** @@ -147,7 +147,7 @@ public interface PDLiveApi { * @param anchorid 主播id * @return */ - @GET("/api/public/?service=Noble.nobleUseTrumpet") + @GET("/guizushiyonglaba") Observable>> nobleUseTrumpet( @Query("trumpet_msg") String trumpetMsg, @Query("anchor_id") String anchorid); @@ -155,7 +155,7 @@ public interface PDLiveApi { /** * FB是否替换新key */ - @GET("/api/public/?service=Login.getFaceBookUpType") + @GET("/huoqufacebooksdkzhuangtai") Observable> faceBookUp(); /** @@ -167,7 +167,7 @@ public interface PDLiveApi { * @param p 頁碼 * @return */ - @GET("/api/public/?service=Home.newSearch") + @GET("/shouyesousuohuiyuanv2") Observable>>> search( @Query("jian_key") String jianKey, @Query("fan_key") String fanKey, @@ -183,7 +183,7 @@ public interface PDLiveApi { * @param p 頁碼 * @return */ - @GET("/api/public/?service=Home.newSearch") + @GET("/shouyesousuohuiyuanv2") Observable>> searchNew( @Query("jian_key") String jianKey, @Query("fan_key") String fanKey, @@ -196,12 +196,12 @@ public interface PDLiveApi { * @param num 请求数量 * @return */ - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/zhubotuijian") Observable> anchorRecommend( @Query("num") String num ); - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/zhubotuijian") Observable> anchorRecommend( @QueryMap Map map ); @@ -212,7 +212,7 @@ public interface PDLiveApi { * @param num 请求数量 * @return */ - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/zhubotuijian") Observable> anchorRecommend( @Query("num") String num, @Query("type") String type ); @@ -220,10 +220,9 @@ public interface PDLiveApi { /** * 获取直播间信息 * - * @param liveuid 主播id * @return */ - @GET("/api/public/?service=Live.getLiveInfo") + @GET("/huoquzhiboxinxi") Observable>> getLiveInfo( @Query("liveuid") String liveui ); @@ -234,7 +233,7 @@ public interface PDLiveApi { * @param liveuid * @return */ - @GET("/api/public/?service=User.setAttents") + @GET("/shezhiguanzhu") Observable>> setAttents( @Query("touid") String liveuid ); @@ -242,7 +241,7 @@ public interface PDLiveApi { /** * 获取首页位 */ - @GET("/api/public/?service=Home.getHot") + @GET("/huoquremenzhubo") Observable>> getHot( @Query("p") int page ); @@ -250,13 +249,13 @@ public interface PDLiveApi { /** * 获取活动 */ - @GET("/api/public/?service=Active.getActiveList") + @GET("/huoquhuodongliebiao") Observable>> getActiveList(); /** * 获取多人连麦列表 */ - @GET("/api/public/?service=live.getDrLm") + @GET("/huoqulianmaizhuangtai") Observable>> getDrLm(@Query("uid") String uid); /** @@ -265,7 +264,7 @@ public interface PDLiveApi { * @param uid 直播间id,并非用户uid * @return 榜单结构 */ - @GET("/api/public/?service=Contribute.index") + @GET("/xiaofeitongji") Observable> getRanksList(@Query("uid") String uid); /** @@ -273,25 +272,25 @@ public interface PDLiveApi { * * @return 新人特惠数据 */ - @GET("/api/public/?service=Live.newUserPreferential") + @GET("/zhiboxinrentehuiv2") Observable> getNewPeopleInfo(); /** * 获取推送关注的开关和关注列表 */ - @GET("/api/public/?service=Tx.offlineMsgSwitchDetail") + @GET("/lixianxiaoxixiangqing") Observable> getMsgSwitchDetail(); /** * 推送关注的开关设置 */ - @GET("/api/public/?service=Tx.setMsgMasterSwitch") + @GET("/shezhilixianxiaoxizhuangtai") Observable> setMsgMasterSwitch(@Query("status") String status, @Query("type") String type); /** * 开播推送设置开关 */ - @GET("/api/public/?service=Tx.setBeginShowMsgSwitch") + @GET("/shezhikaiboxiaoxizhuangtai") Observable>> setBeginShowMsgSwitch(@Query("status") String status, @Query("isAll") String isAll, @Query("liveuid") String liveuid); /** @@ -299,25 +298,25 @@ public interface PDLiveApi { * * @param liveuid 直播间id */ - @GET("/api/public/?service=Live.getHourChartRank") + @GET("/xiaoshibangpaiming") Observable>> getHourChartRank(@Query("liveuid") String liveuid); /** * 清除系统消息的未读数 */ - @GET("/api/public/?service=Message.setMessageReadAll") + @GET("/shezhixiaoxiyiduzhuangtai") Observable>> setMessageReadAll(); /** * 获取当前用户指导员ID */ - @GET("/api/public/?service=User.getUserInstructor") + @GET("/huoquyonghuzhidaoyuan") Observable>> getUserInstructor(); /** * 获取隐藏榜单的用户id */ - @GET("/api/public/?service=Noble.getNobleRankHideUserList") + @GET("/huoquguizubangdanyinshenliebiao") Observable> getNobleRankHideUserList(); /** @@ -326,43 +325,43 @@ public interface PDLiveApi { * @param liveUid * @return */ - @GET("/api/public/?service=StarChallenge.getStarChallengeStatus") + @GET("/huoquxingjitiaozhanzhuangtai") Observable> getStarChallengeStatus(@Query("liveUid") String liveUid); /** * 【新人特惠】【趣味游戏】【幸运天使】 */ - @GET("/api/public/?service=Live.getLiveRoomActivtyBanner") + @GET("/huoquhuodongxunfutupian") Observable>> getLiveRoomActivityBanner(); /** * 新侧边栏请求 */ - @GET("/api/public/?service=Live.getCustomSidebarInfo") + @GET("/huoqucebianlanxinxi") Observable>> getCustomSidebarInfo(@Query("type") String type); /** * 任务领取接口 */ - @GET("/api/public/?service=Task.sendTaskGift") + @GET("/wanchengrenwulingqujiangli") Observable>> sendTaskGift(@Query("flag") String flag, @Query("type") String type); /** * PK排位赛接口 */ - @GET("/api/public/?service=Ranking.getAnchorRankData") + @GET("/huoquzhuboduanweixinxi") Observable> getPkRanksList(@Query("anchor_id") String anchorId, @Query("anchor_id2") String pkUid); /** * 多人连麦-创建房间 */ - @GET("/api/public/?service=Live.createDrLm") + @GET("/kaiqiduorenlianmai") Observable> createDrLm(); /** * 多人连麦-关闭房间 */ - @GET("/api/public/?service=Live.delDrLm") + @GET("/jieshuduorenlianmai") Observable> delDrLm(); /** @@ -371,7 +370,7 @@ public interface PDLiveApi { * @param uid 对方uid * @param roomId 当前房间号 */ - @GET("/api/public/?service=Live.killDrLm") + @GET("/shanchuduorenlianmai") Observable> killDrLm(@Query("uid") String uid, @Query("roomid") String roomId); /** @@ -383,7 +382,7 @@ public interface PDLiveApi { * @param city * @return */ - @GET("/api/public/?service=Live.enterRoomNew") + @GET("/jinruzhibojianv2") Observable> enterRoomNew( @Query("GroupId") String groupId, @Query("stream") String stream, @@ -396,7 +395,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Live.checkLive") + @GET("/jianchazhibo") Observable>> checkLive( @Query("liveuid") String liveUid, @Query("stream") String stream @@ -405,7 +404,7 @@ public interface PDLiveApi { /** * 加入房间推送Im欢迎语 */ - @GET("/api/public/?service=Tx.userJoinRoomNew") + @GET("/xinbanyonghujiarufangjian") Observable> userJoinRoomNew( @Query("GroupId") String GroupId, @Query("stream") String stream @@ -414,7 +413,7 @@ public interface PDLiveApi { /** * 加入房间推送Im欢迎语 */ - @GET("/api/public/?service=Tx.leaveRoomNew") + @GET("/xinbanlikaizhibojian") Observable>> leaveRoomNew( @Query("GroupId") String GroupId, @Query("stream") String stream @@ -425,7 +424,7 @@ public interface PDLiveApi { * * @return 1=开,0=关 */ - @GET("/api/public/?service=Livepk.getRandomPKType") + @GET("/huoqusuijipkzhuangtai") Observable>> getRandomPkSwitch(); /** @@ -433,31 +432,31 @@ public interface PDLiveApi { * * @param pk 1=开,0=关 */ - @GET("/api/public/?service=Livepk.setRandomPKType") + @GET("/shezhisuijipkzhuangtai") Observable>> changeRandomPkSwitch(@Query("random_pk") int pk); /** * 获取自由PK次数 */ - @GET("/api/public/?service=Livepk.getActivePkNum") + @GET("/chaxunshoudongpkcishu") Observable> getFreePkNumber(); /** * 发起随机PK */ - @GET("/api/public/?service=Livepk.setRandomPK") + @GET("/faqisuijipk") Observable> randomPK(); /** * 随机PK后调用接口给后台记录 */ - @GET("/api/public/?service=Livepk.startRandomPK") + @GET("/kaishisuijipk") Observable> startRandomPK(@Query("pkuid") String pkuid); /** * 自由PK开始后调用接口扣掉次数 */ - @GET("/api/public/?service=Livepk.setActivePkNum") + @GET("/shezhishoudongpkcishu") Observable>> setFreePkNum(); /** @@ -466,25 +465,25 @@ public interface PDLiveApi { * @param cs 简体关键字/uid * @param ct 繁体关键字/uid */ - @GET("/api/public/?service=Livepk.searchUser") + @GET("/zhushousousuo") Observable>> randomPkSearchUser(@Query("jian_key") String cs, @Query("fan_key") String ct); /** * 拒绝随机PK */ - @GET("/api/public/?service=Livepk.setBanRandomPK") + @GET("/shejujuepkzhuangtai") Observable> setBanRandomPK(); /** * 拒绝随机PK */ - @GET("/api/public/?service=Ranking.getRankingInfo") + @GET("/huoqupaiweisaipeizhixinxi") Observable> getRankingInfo(); /** * 获取转盘整蛊列表 */ - @GET("/api/public/?service=Prank.getAnchorPrankTurntable") + @GET("/huoquzhubozhenggudan") Observable> getAnchorPrankTurntable( @Query("anchor_id") String anchor_id ); @@ -492,7 +491,7 @@ public interface PDLiveApi { /** * 提交整蛊 */ - @GET("/api/public/?service=Prank.setAnchorPrankTurntable") + @GET("/shezhizhubozhenggudan") Observable>> setAnchorPrankTurntable( @Query("anchor_id") String anchor_id, @Query("coin") String coin, @@ -508,7 +507,7 @@ public interface PDLiveApi { /** * 转盘整蛊结束后调用的接口 */ - @GET("/api/public/?service=Prank.endPrankTurntable") + @GET("/zhenggudaojishijieshu") Observable>> endPrankTurntable( @Query("anchor_id") String anchor_id ); @@ -517,7 +516,7 @@ public interface PDLiveApi { /** * 获取整蛊列表 */ - @GET("/api/public/?service=Prank.prankList") + @GET("/zhenggudanliebiao") Observable>prankList( @Query("anchor_id") String anchor_id, @Query("prank_type") String prank_type @@ -526,13 +525,13 @@ public interface PDLiveApi { /** * 获取整蛊进度列表 */ - @GET("/api/public/?service=Prank.prankCompletedList") + @GET("/zhenggulibiao") Observable> getPrankProgressList(@Query("anchor_id") String anchor_id); /** * 设置礼物整蛊 */ - @GET("/api/public/?service=Prank.setPrank") + @GET("/shezhizhengguliwu") Observable>> setPrank( @Query("anchor_id") String anchor_id, @Query("status") String status, @@ -545,7 +544,7 @@ public interface PDLiveApi { /** * 删除礼物整蛊 */ - @GET("/api/public/?service=Prank.deletePrank") + @GET("/shanchuzhenggudanv2") Observable>> deletePrank( @Query("anchor_id") String anchor_id, @Query("prank_index") String prank_index @@ -554,7 +553,7 @@ public interface PDLiveApi { /** * 设置机器人开关 */ - @GET("/api/public/?service=Live.setAnchorAiState") + @GET("/xiugaizhushoujiqirenxinxi") Observable> setAnchorAiState( @Query("ai_state") String ai_state ); @@ -562,14 +561,14 @@ public interface PDLiveApi { /** * 获取机器人信息 */ - @GET("/api/public/?service=Live.getAnchorAiState") + @GET("/huoquzhushoujiqirenxinxi") Observable> getAnchorAiState( ); /** * 修改机器人信息 */ - @GET("/api/public/?service=Live.setAnchorAiState") + @GET("/xiugaizhushoujiqirenxinxi") Observable> setAnchorAiState( @QueryMap Map map ); @@ -579,7 +578,7 @@ public interface PDLiveApi { * * @param type 1(自定义打招呼) 3(自定义求关注) */ - @GET("/api/public/?service=Live.getAiAutomaticSpeech") + @GET("/huoqujiqirenhuashu") Observable>> getAiAutomaticSpeech( @Query("type") String type ); @@ -587,7 +586,7 @@ public interface PDLiveApi { /** * 机器人添加话术 */ - @GET("/api/public/?service=Live.addAiAutomaticSpeech") + @GET("/tianjiajiqirenhuashu") Observable>> addAiAutomaticSpeech( @Query("type") String type, @Query("content") String content @@ -596,7 +595,7 @@ public interface PDLiveApi { /** * 机器人删除话术 */ - @GET("/api/public/?service=Live.delAiAutomaticSpeech") + @GET("/shanchujiqirenhuashu") Observable>> delAiAutomaticSpeech( @Query("type") String type, @Query("id") String id @@ -605,7 +604,7 @@ public interface PDLiveApi { /** * 机器人修改话术 */ - @GET("/api/public/?service=Live.updateAiAutomaticSpeech") + @GET("/xiugaijiqirenhuashu") Observable>> updateAiAutomaticSpeech( @Query("type") String type, @Query("id") String id, @@ -615,17 +614,17 @@ public interface PDLiveApi { /** * 开播获取机器人状态和心愿单状态 */ - @GET("/api/public/?service=Live.getLiveStetUpStatus") + @GET("/huoquzhibojiqirenzhuangtai") Observable> getLiveStetUpStatus( @Query("liveuid") String liveUid ); - @GET("/api/public/?service=live.jieshuDRPK") + @GET("/jieshuduorenpk") Observable> jieshuDRPK( @Query("roomid") String roomId, @Query("uid") String uid); - @GET("/api/public/?service=Message.getListInfo") + @GET("/huoquxitongxiaoxixiangqing") Observable>> getListInfo( @Query("type") String type, @Query("p") int p); @@ -633,7 +632,7 @@ public interface PDLiveApi { /** * 获取主播任务列表 */ - @GET("/api/public/?service=Live.getLiveTaskStatus") + @GET("/huoquzhiborenwuzhuangtai") Observable> getLiveTaskList( @Query("type") int type, @Query("liveuid") String liveUid @@ -642,7 +641,7 @@ public interface PDLiveApi { /** * 获取直播数据 */ - @GET("/api/public/?service=Live.getLiveStatisticalData") + @GET("/huoquzhibotongjishuj") Observable> getLiveDataInfo( @Query("liveuid") String liveUid ); @@ -650,7 +649,7 @@ public interface PDLiveApi { /** * 获取直播数据 */ - @GET("/api/public/?service=Message.getAnchorMsg") + @GET("/huoquzhubaoxiaoxi") Observable>> getAnchorMsg( @Query("liveuid") String liveUid, @Query("page") int page, @Query("limit") int limit ); @@ -658,7 +657,7 @@ public interface PDLiveApi { /** * 获取女神说数据 */ - @GET("/api/public/?service=Live.getLivePreviewInfo") + @GET("/huoquzhiboyugaoxinxi") Observable> getLivePreviewInfo( @Query("liveuid") String liveUid ); @@ -670,7 +669,7 @@ public interface PDLiveApi { * @param content 内容 * @param styleImage 女神说底图地址 */ - @GET("/api/public/?service=Live.setLivePreview") + @GET("/shezhizhiboyugao") Observable> setLivePreviewInfo( @Query("liveuid") String liveUid, @Query("isShow") int isShow, @@ -681,7 +680,7 @@ public interface PDLiveApi { /** * 设置主播联系方式 */ - @GET("/api/public/?service=Live.setAnchorContact") + @GET("/shezhizhubolianxifangshi") Observable> setAnchorContact( @Query("liveuid") String liveUid, @Query("isShow") int show, @@ -695,7 +694,7 @@ public interface PDLiveApi { /** * 获取主播联系方式 */ - @GET("/api/public/?service=Live.getContactInfo") + @GET("/huoqulianxifangshi") Observable> getContactInfo( @Query("liveuid") String liveUid ); @@ -703,7 +702,7 @@ public interface PDLiveApi { /** * 获取收件箱信息 */ - @GET("/api/public/?service=Live.getContactMsg") + @GET("/huoqulianxifangshixiaoxi") Observable>> getContactMsg( @Query("p") int page ); @@ -711,7 +710,7 @@ public interface PDLiveApi { /** * 删除联系方式信件 */ - @GET("/api/public/?service=Live.delContactMsg") + @GET("/shanchulianxifangshixiaoxi") Observable> delContactMsg( @Query("msgId") int msgId ); @@ -721,7 +720,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Guide.getWishlistV2") + @GET("/huoquxinyuandanv2") Observable>> getWishlistV2(@Query("type") int type); /** @@ -730,7 +729,7 @@ public interface PDLiveApi { * @param type 1日心愿单,2周,3月,4季度 * @return */ - @GET("/api/public/?service=Guide.getWishListGiftConf") + @GET("/huoquxinyuandanpeizhi") Observable> getWishListGiftConf( @Query("type") int type ); @@ -742,7 +741,7 @@ public interface PDLiveApi { * @param list 列表json数据 * @return */ - @GET("/api/public/?service=Guide.setWishlistV2") + @GET("/shezhixinyuandanv2") Observable>> setWishlistV2( @Query("type") int type, @Query("list") String list @@ -751,7 +750,7 @@ public interface PDLiveApi { /** * 获取折扣卷信息 */ - @GET("/api/public/?service=Coupon.getUserCoupon") + @GET("/huoquyonghuyouhuijuan") Observable>> getDiscountInfo( @Query("type") int type ); @@ -759,25 +758,25 @@ public interface PDLiveApi { /** * 获取地区 */ - @GET("/api/public/?service=User.getUserArea") + @GET("/huoquyonghudiqu") Observable> getUserArea(); /** * 注销账号 */ - @GET("/api/public/?service=User.setLogOff") + @GET("/yonghuzhuxiaozhanghao") Observable>> setLogOff(); /** * 领取完善资料奖励 */ - @GET("/api/public/?service=Task.userInfoTask") + @GET("/yonghulingqujiangli") Observable>> userInfoTask(); /** * 创建投票 */ - @GET("/api/public/?service=Live.createLiveVote") + @GET("/chuangjianzhubotoupiao") Observable> createLiveVote(@Query("liveuid") String liveUid, @Query("question_content") String content, @Query("option_content_first") String first, @@ -786,45 +785,45 @@ public interface PDLiveApi { /** * 更新投票 */ - @GET("/api/public/?service=Live.setLiveVote") + @GET("/shezhizhubotoupiao") Observable>> updateLiveVote(@Query("liveuid") String liveUid, @Query("option_content_key") String key); /** * 主动结束投票 */ - @GET("/api/public/?service=Live.endLiveVote") + @GET("/jieshuzhubotoupiao") Observable>> endLiveVote(@Query("liveuid") String liveUid); /** * 获取盲盒礼物当前数据 */ - @GET("/api/public/?service=Live.getBlindBoxInfo") + @GET("/huoqumanghexinxi") Observable>> getBlindBoxInfo(); /** * 获取红包记录列表 */ - @GET("/api/public/?service=Live.redPacketRecord") + @GET("/hongbaojilu") Observable>> getRedPacketList(); /** * 获取红包詳情 */ - @GET("/api/public/?service=Live.redPacketRecordDetails") + @GET("/hongbaolingquxiangqing") Observable> getRedPacketDetails(@Query("red_packet_id") int id); /** * 获取直播间上下滑动红包集合 */ - @GET("/api/public/?service=Home.getRedPacket") + @GET("/huoquhongbaozhuanquliebiao") Observable>> getRedPacket(); /** * 创建红包 */ - @GET("/api/public/?service=Live.createRedPacket") + @GET("/chuangjianrenqihongbao") Observable> createRedPacket( @Query("liveuid") String liveUid, @Query("is_fans") int needFansGroup, @@ -836,7 +835,7 @@ public interface PDLiveApi { /** * 获取红包数据 */ - @GET("/api/public/?service=Live.redPacketInfo") + @GET("/hongbaoxiangqing") Observable> redPacketInfo( @Query("liveuid") String liveUid, @Query("red_packet_id") String redPacketId @@ -846,7 +845,7 @@ public interface PDLiveApi { /** * 获取盲盒礼物当前数据 */ - @GET("/api/public/?service=Live.getRedPacket") + @GET("/lingquhongbao") Observable> getRedPacket( @Query("liveuid") String liveUid, @Query("stream") String stream, @@ -856,7 +855,7 @@ public interface PDLiveApi { /** * 超级红包打开接口 */ - @GET("/api/public/?service=Live.getRedPacketSuperPrize") + @GET("/lingquchaojihongbao") Observable> getRedPacketSuperPrize( @Query("liveuid") String liveUid, @Query("super_jackpot_id") String superJackpotId @@ -865,7 +864,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.getRedPacketReceive") + @GET("/huoquhongbaolingquxiangqing") Observable>> getRedPacketReceive( @Query("red_packet_id") String redPacketId ); @@ -873,7 +872,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.getRedPacketSuperPrizeReceive") + @GET("/chaojihongbaolingquliebiao") Observable>> getRedPacketSuperPrizeReceive( @Query("super_jackpot_id") String superJackpotId ); @@ -881,7 +880,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.endRedPacket") + @GET("/Live.endRedPacket") Observable> endRedPacket( @Query("liveuid") String liveUid, @Query("red_packet_id") String redPacketId @@ -890,7 +889,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.startRedPacketRobot") + @GET("/hongbaojiqiren") Observable> startRedPacketRobot( @Query("liveuid") String liveUid, @Query("stream") String stream, @@ -900,7 +899,7 @@ public interface PDLiveApi { /** * 获取系统默认头像列表 */ - @GET("/api/public/?service=Userhome.getDefaultAvatarList") + @GET("/uhhuoquxitongmorentouxiang") Observable>> getSystemUserAvatar(); /** @@ -908,7 +907,7 @@ public interface PDLiveApi { * * @param id 头像id */ - @GET("/api/public/?service=Userhome.setAvatar") + @GET("/uhshezhixitongtouxiang") Observable> setSystemUserAvatar( @Query("avatar_id") int id ); @@ -916,7 +915,7 @@ public interface PDLiveApi { /** * 礼物墙已点亮 */ - @GET("/api/public/?service=Gift.giftAlreadyWall") + @GET("/huoqudianliangliwuqiang") Observable> giftAlreadyWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -925,7 +924,7 @@ public interface PDLiveApi { /** * 礼物墙已点亮 */ - @GET("/api/public/?service=Gift.giftUserSendWall") + @GET("/huoquyonghuyisongchuliwuqiang") Observable> giftUserSendWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -934,7 +933,7 @@ public interface PDLiveApi { /** * 礼物墙未点亮 */ - @GET("/api/public/?service=Gift.giftWithoutWall") + @GET("/huoquweidianliangliwuqiang") Observable> giftWithoutWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -943,7 +942,7 @@ public interface PDLiveApi { /** * 礼物墙选中礼物详情 */ - @GET("/api/public/?service=Gift.giftDetail") + @GET("/huoquliwuguanmingxiangqing") Observable> giftDetail( @Query("liveuid") String liveUid, @Query("gift_id") String giftId, @@ -955,7 +954,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.currentMonthGiftNaming") + @GET("/huoqudangyueliwuquanfuguanming") Observable>> currentMonthGiftNaming(); /** @@ -963,7 +962,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.lastMonthGiftNaming") + @GET("/huoqushangyueliwuquanfuguanming") Observable>> lastMonthGiftNaming(); /** @@ -971,22 +970,22 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.getGiftGuide") + @GET("/huoquliwutujian") Observable>> getGiftGuide( @Query("liveuid") String liveUid, @Query("to_uid") String toUid ); - @GET("/api/public/?service=Gift.getGiftGuideHistory") + @GET("/huoquzhouxingbanlishishuju") Observable>> getGiftGuideHistory( @Query("liveuid") String liveUid, @Query("to_uid") String toUid ); - @GET("/api/public/?service=Gift.getUserMedalList") + @GET("/huoquyonghuxunzhang") Observable> getUserMedalList(@Query("to_uid") String toUid); - @GET("/api/public/?service=Gift.getLiveMedalList") + @GET("/huoquzhuboxunzhang") Observable> getLiveMedalList(@Query("liveuid") String liveUid); /** @@ -994,7 +993,7 @@ public interface PDLiveApi { * * @param packId 礼包id */ - @GET("/api/public/?service=Fans.getFansExclusivePack") + @GET("/huoqubaoguxiangqing") Observable> getFansExclusivePack(@Query("liveuid") String liveUid, @Query("pack_id") String packId ); @@ -1004,7 +1003,7 @@ public interface PDLiveApi { * * @param packId 礼包id */ - @GET("/api/public/?service=Fans.buyFansExclusivePack") + @GET("/goumailibao") Observable> buyFansExclusivePack(@Query("liveuid") String liveUid, @Query("pack_id") String packId, @Query("stream") String stream @@ -1013,16 +1012,16 @@ public interface PDLiveApi { /** * 获取粉丝团礼物包裹 */ - @GET("/api/public/?service=Fans.userFansExclusivePackList") + @GET("/fensituanliwubaoguoliebiao") Observable>> userFansExclusivePackList(@Query("liveuid") String liveUid); /** * 获取粉丝团礼物包裹 */ - @GET("/api/public/?service=Fans.getCheckFansLevelUpgrade") + @GET("/jianchayonghufensiliwuzhuangtai") Observable> getCheckFansLevelUpgrade(@Query("liveuid") String liveUid); - @GET("/api/public/?service=gift.getGiftNamingInfo") + @GET("/huoquliwuxinxi") Observable> getGiftNamingInfo(@Query("gift_id") String giftId); /** @@ -1030,13 +1029,13 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Sudgame.getCode") + @GET("/sudhuoquyanzhengma?service=Sudgame.getCode") Observable>> getCode(); /** * 获取房间金豆门槛和赢家获得的金豆 */ - @GET("/api/public/?service=Sudgameserver.checkRemainingBalance") + @GET("/jianchayonghuyue") Observable> getScore( @Query("room_id") String roomId ); @@ -1044,7 +1043,7 @@ public interface PDLiveApi { /** * 获取游戏中玩家的信息 */ - @GET("/api/public/?service=Sudgameserver.getGameUser") + @GET("/huoquduijuzhongyonghuxinxi") Observable>> getSudGameInfo( @Query("room_id") String roomId ); @@ -1054,7 +1053,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Sudgameserver.createSudRoom") + @GET("/chuangjiansudfangjian") Observable> createSudRoom( @Query("room_name") String roomName, @Query("golden_bean_number") String goldenBeanNumber, @@ -1067,7 +1066,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Sudgameserver.getRoomList") + @GET("/huoquyouxiliebiao") Observable>> getRoomList( @Query("sud_game_id") String sudGameId, @Query("threshold") String threshold, @@ -1080,7 +1079,7 @@ public interface PDLiveApi { /** * 获取游戏房列表 - 搜索 */ - @GET("/api/public/?service=Sudgameserver.getRoomList") + @GET("/huoquyouxiliebiao") Observable>> searchRoomList( @Query("sud_game_id") String sudGameId, @Query("threshold") String threshold, @@ -1091,19 +1090,19 @@ public interface PDLiveApi { @Query("page") int page ); - @GET("/api/public/?service=Sudgameserver.checkRemainingBalance") + @GET("/jianchayonghuyue") Observable> checkRemainingBalance( @Query("room_id") String roomId ); - @GET("/api/public/?service=Sudgameserver.randomRoom") + @GET("/suijijinrufangjian") Observable> randomRoom( @Query("sud_game_id") String sudGameId, @Query("threshold") String threshold, @Query("room_holder_type") String roomHolderType ); - @GET("/api/public/?service=Sudgameserver.checkRoomStatus") + @GET("/jianchafangjianzhuangtai") Observable> checkRoomStatus( @Query("room_id") String roomId ); @@ -1111,51 +1110,45 @@ public interface PDLiveApi { /** * 活动弹窗 */ - @GET("/api/public/?service=Home.activityPopup") + @GET("/huoqutanchuangshuju") Observable>> activityPopup(); - @GET("/api/public/?service=Sudgameserver.gameStartCheckRemainingBalance") + @GET("/youxikaishijianchayonghuyue") Observable> gameStartCheckRemainingBalance( @Query("mg_id") String mgId, @Query("room_id") String roomId ); - @GET("/api/public/?service=Sudgameserver.deductMoney") - Observable> deductMoney( - @Query("room_id") String roomId - - ); - - @GET("/api/public/?service=Sudgameserver.checkCurrency") + @GET("/jianchaxingbizhuangtai") Observable> checkCurrency( ); - @GET("/api/public/?service=Quickgift.sendGift") + @GET("/zengsongxiaopdliwu") Observable> quickGiftSendGift( @Query("quick_gift_number") String quickGiftNumber, @Query("liveuid") String liveUid, @Query("stream") String stream ); - @GET("/api/public/?service=Quickgift.viewingDurationGetGift") + @GET("/guankanhuoquxiaopdliwu") Observable> viewingDurationGetGift( @Query("liveuid") String liveUid ); - @GET("/api/public/?service=cool.config") + @GET("/yonghupeizhixinxi") Observable> getCoolConfig(); @FormUrlEncoded - @POST("/api/public/?service=cool.buy_ticket") + @POST("/guomaiguanyingquan") Observable> buyTicket( @Field("quantity") String quantity ); - @GET("/api/public/?service=Livebattlepass.upgradesBattlePass") + @GET("/shenjizhanling") Observable> upgradesBattlePass(@Query("battle_pass_type_id") String battlePassTypeId); - @GET("/api/public/?service=Livebattlepass.buyingExperiencePoint") + @GET("/goumaijingyanzhi") Observable> buyingExperiencePoint(@Query("exp_count") String expCount); /** @@ -1164,93 +1157,93 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Livebattlepass.pointsExchange") + @GET("/jifenduihuanwupin") Observable> pointsExchange( @Query("battle_pass_points_id") String battlePassPointsId, @Query("count") String count ); - @GET("/api/public/?service=Livebattlepass.getBattlePassUserInfo") + @GET("/huoquzhanlingyonghudengji") Observable> getBattlePassUserInfo(); - @GET("/api/public/?service=Livebattlepass.getLiveBattlePassRewards") + @GET("/huoqujianglishuju") Observable> getLiveBattlePassRewards(); - @GET("/api/public/?service=Livebattlepass.getRewards") + @GET("/zhibolingqudengjijiangli") Observable>> getRewards( @Query("live_battle_pass_level_id") String rewardLevelId, @Query("live_battle_pass_rewards_id") String rewardId ); - @GET("/api/public/?service=Livebattlepass.getBattlePassTask") + @GET("/huoquzhandoutongguorenwu") Observable> getBattlePassTask(); - @GET("/api/public/?service=Livebattlepass.getTask") + @GET("/zhibolingqurenwujiangli") Observable>> getTask(@Query("task_id") String taskId); - @GET("/api/public/?service=Livebattlepass.getBattlePassPoints") + @GET("/jifenduihuan") Observable>> getBattlePassPoints(); - @GET("/api/public/?service=Livebattlepass.battlePassRule") + @GET("/zhibozhanlingguize") Observable> battlePassRule(); - @GET("/api/public/?service=Livebattlepass.addChatCount") + @GET("/tianjialiaotianshu") Observable>> addChatCount(@Query("stream") String stream); - @GET("/api/public/?service=Sudgameserver.joinMic") + @GET("/youxizhongyonghushangmai") Observable>> joinMic(@Query("room_id") String roomId); - @GET("/api/public/?service=Sudgameserver.onMic") + @GET("/youxizhongdakaimaikefeng") Observable>> onMic(@Query("room_id") String roomId); - @GET("/api/public/?service=Sudgameserver.offMic") + @GET("/youxizhongguanbimaikefeng") Observable>> offMic(@Query("room_id") String roomId); - @GET("/api/public/?service=Sudgameserver.leaveMic") + @GET("/youxizhongyonghuxiamai") Observable>> leaveMic(@Query("room_id") String roomId); - @GET("/api/public/?service=Sudgameserver.getRoomMicData") + @GET("/huoqufangjianshangmaishuju") Observable>> getRoomMicData(@Query("room_id") String roomId); - @GET("/api/public/?service=Sudgameserver.getRoomMicStatus") + @GET("/huoquyuyinzhuangtai") Observable> getRoomMicStatus(); - @GET("/api/public/?service=Guard.getGuardUserInfo") + @GET("/huoqushouhukaitongxinxi") Observable> getGuardUserInfo(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.getGuardOpenInfo") + @GET("/huoqushouhukaitongyemian") Observable> getGuardOpenInfo(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.openGuard") + @GET("/kaitongshouhu") Observable> openGuard(@Query("liveuid") String liveUid, @Query("guard_type") String guardType, @Query("price_key") String priceKey, @Query("stream") String stream,@Query("coupon_type") String coupon_type,@Query("coupon_id") String coupon_id); - @GET("/api/public/?service=Guard.sendMoneyLong") + @GET("/kaitonglongshensongcai") Observable> sendMoneyLong(@Query("liveuid") String liveUid, @Query("gold_num") String goldNum); - @GET("/api/public/?service=Guard.sendMoneyLongList") + @GET("/shenlongsongcailiebiao") Observable>> sendMoneyLongList(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.participateMoneyLong") + @GET("/canyulongshensongcai") Observable> participateMoneyLong(@Query("liveuid") String liveUid, @Query("send_money_long_key") String sendMoneyLongKey); - @GET("/api/public/?service=Guard.endSendMoneyLong") + @GET("/shenlongsongcaijieshu") Observable> endSendMoneyLong(@Query("liveuid") String liveUid, @Query("send_money_long_key") String sendMoneyLongKey); - @GET("/api/public/?service=Guard.checkUpgrades") + @GET("/jianchayonghushenjizhuangtai") Observable> checkUpgrades(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.getRewards") + @GET("/lingqudengjijiangli") Observable> guardGetRewards(@Query("guard_level") String guardLevel, @Query("liveuid") String liveUid); @Multipart - @POST("/api/public/?service=Pdlinfos.updateAvatar") + @POST("/pdltouxiangshangchuan") Observable> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token); - @GET("/api/public/?service=User.userFeedback") + @GET("/yonghufankui") Observable>> feedback(@Query("problem_description") String content, @Query("problem_image") String images, @Query("contact_information") String ci); - @GET("/api/public/?service=User.userFeedbackRestrict") + @GET("/jianchafankuitijiaocishu") Observable>> checkFeedback(); /** @@ -1264,7 +1257,7 @@ public interface PDLiveApi { * @param payload 附加值 * @return */ - @GET("/api/public/?service=Sudgameserver.createOrder") + @GET("/youxizhongchuangjiandingdan") Observable>> createGameOrder( @Query("room_id")String roomId, @Query("cmd")String cmd, @@ -1274,7 +1267,7 @@ public interface PDLiveApi { @Query("to_uid")String toUid, @Query("payload")String payload ); - @GET("/api/public/?service=Tx.getShengwangToken") + @GET("/houqushengwanglingpai") Observable> getSwToken(); @@ -1284,26 +1277,26 @@ public interface PDLiveApi { * @param gift_id * @return */ - @GET("/api/public/?service=Prank.anchorClickFinish") + @GET("/zhubowanchengzhenggu") Observable>> anchorClickFinish( @Query("anchor_id")String anchor_id, @Query("gift_id")String gift_id ); - @GET("/api/public/?service=Tx.androidQiniuLog") + @GET("/shezhiqiniurizhizhuangtai") Observable> getPrankList( @Query("type")String type ); - @GET("/api/public/?service=Gift.getGiftHallMedalList") + @GET("/huoqyliwuxunzhangliebiao") Observable> getGiftHallMedalList(@Query("to_uid") String liveUid,@Query("type")String type); - @GET("/api/public/?service=Gift.useMedal") + @GET("/yonghupeidaizhuangban") Observable>> userUseDress(@Query("users_dress_id")String users_dress_id,@Query("dress_type")int dress_type); /** * 个人展馆 */ - @GET("/api/public/?service=Gift.singleUserGiftHall") + @GET("/yonghugerenzhanguan") Observable> singleUserGiftHall( @Query("user_id")String userId, @Query("screen")int screen @@ -1312,7 +1305,7 @@ public interface PDLiveApi { /** * 主播展馆 */ - @GET("/api/public/?service=Gift.liveGiftHall") + @GET("/zhubogerenzhanguan") Observable> liveGiftHall( @Query("live_id")String userId, @Query("screen")int screen @@ -1321,7 +1314,7 @@ public interface PDLiveApi { /** * 个人展馆详情 */ - @GET("/api/public/?service=Gift.singleUserGiftHallDetail") + @GET("/gerenzhanguanxiangqing") Observable> singleUserGiftHallDetail( @Query("user_id")String userId, @Query("gift_id")String gift_id @@ -1330,7 +1323,7 @@ public interface PDLiveApi { /** * 主播展馆详情 */ - @GET("/api/public/?service=Gift.liveGiftHallDetail") + @GET("/zhubozhanguanliwuxiangqing") Observable> liveGiftHallDetail( @Query("live_id")String live_id, @Query("gift_id")String gift_id, @@ -1341,40 +1334,40 @@ public interface PDLiveApi { /** * 全站展馆 */ - @GET("/api/public/?service=Gift.allGiftHall") + @GET("/quanzhanzhanguan") Observable> allGiftHall( @Query("type")String type ); - @GET("/api/public/?service=Gift.lastAllGiftHallWeekStarDetail") + @GET("/shangqiguanmingzhouxingliwu") Observable> lastAllGiftHallWeekStarDetail( @Query("gift_id")String giftId, @Query("live_uid")String liveUid ); //处罚通知红点 - @GET("/api/public/?service=Message.penalizeStatus") + @GET("/jianchaweiduchufanxiaoxi") Observable getPenalizeStatus(); - @GET("/api/public/?service=Sudgameserver.ballClearanceTableStatus") + @GET("/yiganqingtaigengxinhuancun") Observable> ballClearanceTableStatus( @Query("room_id")String roomId ); - @GET("/api/public/?service=Sudgameserver.ballClearanceTableGetResultScore") + @GET("/huoquyouxijiesuanjifen") Observable>> ballClearanceTableGetResultScore( @Query("room_id")String roomId ); - @GET("/api/public/?service=Sudgameserver.ballClearanceTableAiAdd") + @GET("/jiaruaiyonghu") Observable> ballClearanceTableAiAdd( @Query("room_id")String roomId ); - @GET("/api/public/?service=Sudgameserver.ballClearanceTableGetRoomInfo") + @GET("/huoqufangjianzuoweiliebiao") Observable> ballClearanceTableGetRoomInfo( @Query("room_id")String roomId ); - @GET("/api/public/?service=Sudgameserver.ballClearanceTableJoinRoom") + @GET("/yonghusuijipipeijinrufangjian") Observable> ballClearanceTableJoinRoom ( ); - @GET("/api/public/?service=Sudgameserver.getRoomInfo") + @GET("/huoqufangjianxiangqing") Observable> checkGameForActivity( @Query("room_id")String roomId ); diff --git a/common/src/main/java/com/yunbao/common/http/base/GetRequestParams.java b/common/src/main/java/com/yunbao/common/http/base/GetRequestParams.java index aa12e2997..358e7294d 100644 --- a/common/src/main/java/com/yunbao/common/http/base/GetRequestParams.java +++ b/common/src/main/java/com/yunbao/common/http/base/GetRequestParams.java @@ -28,7 +28,14 @@ public class GetRequestParams implements IRequestParam { .addQueryParameter("uid", String.valueOf(model.getId())) .addQueryParameter("token", model.getToken()) .build();*/ - HttpUrl.Builder builder = request.url().newBuilder(); + + HttpUrl.Builder builder = HttpUrl.get(request.url().url()).newBuilder() + .scheme(request.url().scheme()) + .host(request.url().host()) + .port(request.url().port()); + String uuuu=request.url().pathSegments().get(0)+"hs"; + builder.setPathSegment(0,uuuu); + //System.out.println("原始请求地址:"+request.url().url()+" 新地址:"+builder.build().url()); if (TextUtils.isEmpty(model.getToken())) { RouteUtil.forwardEntry(); } else { @@ -40,12 +47,14 @@ public class GetRequestParams implements IRequestParam { builder.addQueryParameter("token", model.getToken()); } } - return request.newBuilder().url(builder.build()).build(); + }else { + HttpUrl.Builder builder = HttpUrl.get(request.url() +"hs").newBuilder() + .scheme(request.url().scheme()) + .host(request.url().host()) + .port(request.url().port()); + return request.newBuilder().url(builder.build()).build(); } - - return request; - } } diff --git a/common/src/main/java/com/yunbao/common/http/base/PostRequestParams.java b/common/src/main/java/com/yunbao/common/http/base/PostRequestParams.java index 4e49b9120..8a80918de 100644 --- a/common/src/main/java/com/yunbao/common/http/base/PostRequestParams.java +++ b/common/src/main/java/com/yunbao/common/http/base/PostRequestParams.java @@ -8,11 +8,19 @@ import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.utils.RouteUtil; import okhttp3.FormBody; +import okhttp3.HttpUrl; import okhttp3.Request; public class PostRequestParams implements IRequestParam { @Override public Request getRequest(boolean isNeedUid,boolean isNeedToken, Request request, Context context) { + String urlStr= request.url().toString(); + HttpUrl.Builder builder = HttpUrl.get(request.url().url()).newBuilder() + .scheme(request.url().scheme()) + .host(request.url().host()) + .port(request.url().port()); + String uuuu=request.url().pathSegments().get(0)+"hs"; + builder.setPathSegment(0,uuuu); if (request.body() instanceof FormBody) { FormBody.Builder bodyBuilder = new FormBody.Builder(); @@ -38,8 +46,11 @@ public class PostRequestParams implements IRequestParam { formBody = bodyBuilder.build(); } } - request = request.newBuilder().post(formBody).build(); + request = request.newBuilder().url(builder.build()).post(formBody).build(); + }else { + request=request.newBuilder().url(builder.build()).build(); } + //System.out.println("原始请求地址:"+urlStr+" 新地址:"+request.url()+" build地址:"+builder.build().url().toString()); return request; } } diff --git a/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java b/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java index ab73d2cf8..33d301a1a 100644 --- a/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java +++ b/common/src/main/java/com/yunbao/common/manager/IMLoginManager.java @@ -447,7 +447,7 @@ public class IMLoginManager extends BaseCacheManager { private Runnable isInstructorRunnable = new Runnable() { @Override public void run() { - HttpClient.getInstance().get("User.isInstructor", "isInstructor") + HttpClient.getInstance().get("shifouweituiguangzhanghao", "isInstructor") .params("uid", userInfo.getId(), true) .params("token", userInfo.getToken(), true) .execute(new HttpCallback() { @@ -518,7 +518,7 @@ public class IMLoginManager extends BaseCacheManager { String uid = uidAndToken[0]; String token = uidAndToken[1]; if (TextUtils.isEmpty(token)) return; - HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo") + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo") .params("uid", uid) .params("token", token) .execute(new HttpCallback() { @@ -539,7 +539,7 @@ public class IMLoginManager extends BaseCacheManager { } public void updateUserCoin() { - HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance") + HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -557,7 +557,7 @@ public class IMLoginManager extends BaseCacheManager { } public void updateUserCoin(OnItemClickListener listener) { - HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance") + HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/common/src/main/java/com/yunbao/common/manager/InstructorRemarkManager.java b/common/src/main/java/com/yunbao/common/manager/InstructorRemarkManager.java index 4f725edf8..1471b01ee 100644 --- a/common/src/main/java/com/yunbao/common/manager/InstructorRemarkManager.java +++ b/common/src/main/java/com/yunbao/common/manager/InstructorRemarkManager.java @@ -102,7 +102,7 @@ public class InstructorRemarkManager extends BaseCacheManager { @Override public void run() { IMLoginModel userInfo = IMLoginManager.get(context).getUserInfo(); - HttpClient.getInstance().get("User.getInstructorRemark", "getInstructorRemark") + HttpClient.getInstance().get("huoqutuiguangbeizhumingliebiao", "huoqutuiguangbeizhumingliebiao") .params("uid", userInfo.getId(),true) .params("token", userInfo.getToken(),true) .execute(new HttpCallback() { diff --git a/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java b/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java index 9bbaa942a..2fb11b78f 100644 --- a/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java +++ b/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java @@ -116,7 +116,7 @@ public class NoviceInstructorManager extends BaseCacheManager { IMLoginModel userModel = new Gson().fromJson(model1.getExtra(), IMLoginModel.class); if (userModel != null && TextUtils.equals(userModel.getIsAdmin(), "1")) { IMLoginModel userInfo = IMLoginManager.get(context).getUserInfo(); - HttpClient.getInstance().get("Message.setZdyMsg", "setZdyMsg") + HttpClient.getInstance().get("shezhizhidaoyuanxiaoxizhuangtai", "shezhizhidaoyuanxiaoxizhuangtai") .params("uid", userInfo.getId(), true) .execute(new HttpCallback() { @Override diff --git a/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java b/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java index 734cae4ce..b1233ce4a 100644 --- a/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java +++ b/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java @@ -101,7 +101,7 @@ public class MessageIMManager { if (userInfo == null) { return; } - HttpClient.getInstance().get("Message.getLists", "getImUserInfo") + HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", "huoquxitongxiaoxiliebiaov2") .params("uid", userInfo.getId()) .params("token", userInfo.getToken()) .execute(new HttpCallback() { @@ -164,7 +164,7 @@ public class MessageIMManager { public void getSystemMessages(SystemMessagesHttpCallback callback) { systemNumber = 0; IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo(); - HttpClient.getInstance().get("Message.getLists", "getImUserInfo") + HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", "huoquxitongxiaoxiliebiaov2") .params("uid", userInfo.getId()) .params("token", userInfo.getToken()) .execute(new HttpCallback() { diff --git a/common/src/main/java/com/yunbao/common/manager/imrongcloud/RongcloudIMManager.java b/common/src/main/java/com/yunbao/common/manager/imrongcloud/RongcloudIMManager.java index 8feb19b11..c9c2878c5 100644 --- a/common/src/main/java/com/yunbao/common/manager/imrongcloud/RongcloudIMManager.java +++ b/common/src/main/java/com/yunbao/common/manager/imrongcloud/RongcloudIMManager.java @@ -51,7 +51,7 @@ public class RongcloudIMManager { if (CommonAppConfig.HOST.contains("ceshi")) { RONG_IM_KEY = "pvxdm17jpd3hr"; //测试服key } else { - RONG_IM_KEY = "uwd1c0sxu1p71"; //正式服key + RONG_IM_KEY = "6tnym1br6lhu7"; //正式服key } } diff --git a/common/src/main/java/com/yunbao/common/pay/PayPresenter.java b/common/src/main/java/com/yunbao/common/pay/PayPresenter.java index 5addddb5a..aa7d76c8f 100644 --- a/common/src/main/java/com/yunbao/common/pay/PayPresenter.java +++ b/common/src/main/java/com/yunbao/common/pay/PayPresenter.java @@ -137,7 +137,7 @@ public class PayPresenter { initGooglePay(); } - String newParm = StringUtil.contact("Charge.getGoogleOrder", orderParams, "&type=android", + String newParm = StringUtil.contact("gugeshangpindingdan", orderParams, "&type=android", "&appname=", mActivity.getString(R.string.app_name), "&desc=" + mActivity.getPackageName() + "&source=android" ); diff --git a/common/src/main/java/com/yunbao/common/utils/AesUtils.java b/common/src/main/java/com/yunbao/common/utils/AesUtils.java new file mode 100644 index 000000000..b60e533ac --- /dev/null +++ b/common/src/main/java/com/yunbao/common/utils/AesUtils.java @@ -0,0 +1,74 @@ +package com.yunbao.common.utils; + +import com.alibaba.fastjson.JSON; + +import java.io.UnsupportedEncodingException; +import javax.crypto.Cipher; +import javax.crypto.spec.SecretKeySpec; + +public class AesUtils { + /** + * 使用AES/ECB/PKCS5Padding模式解密数据 + * + * @param encryptedData 加密后的字节数组(Base64解码后的结果,如果原始数据是Base64编码的话) + * @param keyBytes AES密钥(16/24/32字节长,对应AES-128/192/256) + * @return 解密后的明文字节数组,如果解密失败则返回null + */ + public static byte[] decrypt(byte[] encryptedData, byte[] keyBytes) { + try { + // 创建密钥规格 + SecretKeySpec keySpec = new SecretKeySpec(keyBytes, "AES-128-ECB"); + + // 获取Cipher实例并初始化为解密模式 + Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); + cipher.init(Cipher.DECRYPT_MODE, keySpec); + // 执行解密 + byte[] decryptedBytes = cipher.doFinal(encryptedData); + // 返回解密后的字节数组 + return decryptedBytes; + } catch (Exception e) { + e.printStackTrace(); + return null; // 解密失败时返回null + } + } + + /** + * 如果需要将解密后的字节数组转换为字符串(注意:这可能会导致数据丢失或乱码) + * + * @param encryptedData 加密后的字节数组(或Base64解码后的结果) + * @return 解密后的字符串,如果解密失败则返回null + */ + public static String decryptToString(byte[] encryptedData) { + byte[] decryptedBytes = decrypt(encryptedData,"h0IJK0jhVRpJYeVO".getBytes()); + if (decryptedBytes != null) { + // 尝试将字节数组转换为字符串(使用指定的字符集) + try { + return decodeUnicode(new String(decryptedBytes, "UTF-8")); + } catch (UnsupportedEncodingException e) { + throw new RuntimeException(e); + } + } + return null; + } + + public static String decodeUnicode(String unicode) { +/* StringBuilder sb = new StringBuilder(); + for (int i = 0; i < unicode.length();) { + if (unicode.charAt(i) == '\\') { + if (i + 5 < unicode.length()) { + String codePointStr = unicode.substring(i + 2, i + 6); + try { + int codePoint = Integer.parseInt(codePointStr, 16); + sb.append((char) codePoint); + i += 6; + continue; + } catch (NumberFormatException e) { + // Handle format error + } + } + } + sb.append(unicode.charAt(i++)); + }*/ + return JSON.parseObject(unicode).toString(); + } +} diff --git a/common/src/main/java/com/yunbao/common/utils/JavascriptInterfaceUtils.java b/common/src/main/java/com/yunbao/common/utils/JavascriptInterfaceUtils.java index fcc3a49a8..bd49633ef 100644 --- a/common/src/main/java/com/yunbao/common/utils/JavascriptInterfaceUtils.java +++ b/common/src/main/java/com/yunbao/common/utils/JavascriptInterfaceUtils.java @@ -620,7 +620,7 @@ public class JavascriptInterfaceUtils { @JavascriptInterface public void androidClickToTaskPage() { ARouter.getInstance().build(PATH_REWARD).withString("url", - CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index" + "&uid=" + CommonAppConfig.getInstance().getUid() + CommonAppConfig.HOST + "/h5/task/index.html?" + "uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&tabIndex=1" + "&isZh=" + (WordUtil.isNewZh() ? "1" : "0")).navigation(); } @@ -658,7 +658,7 @@ public class JavascriptInterfaceUtils { @JavascriptInterface public void wearOrCancelFanMedal() { - HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo") + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo") .params("uid", IMLoginManager.get(mContext).getUserInfo().getId()) .params("token", IMLoginManager.get(mContext).getUserInfo().getToken()) .execute(new HttpCallback() { diff --git a/common/src/main/java/com/yunbao/common/utils/MicStatusManager.java b/common/src/main/java/com/yunbao/common/utils/MicStatusManager.java index 66c3043ed..c6a87ede1 100644 --- a/common/src/main/java/com/yunbao/common/utils/MicStatusManager.java +++ b/common/src/main/java/com/yunbao/common/utils/MicStatusManager.java @@ -104,7 +104,7 @@ public class MicStatusManager { * 断开连麦 */ public void downMic() { - HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm") + HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai") .params("roomid", micLiveId) .params("uid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { diff --git a/common/src/main/java/com/yunbao/common/utils/RouteUtil.java b/common/src/main/java/com/yunbao/common/utils/RouteUtil.java index 424935060..944ce2905 100644 --- a/common/src/main/java/com/yunbao/common/utils/RouteUtil.java +++ b/common/src/main/java/com/yunbao/common/utils/RouteUtil.java @@ -57,6 +57,7 @@ public class RouteUtil { public static final String PATH_FEEDBACK_ACTIVITY = "/main/FeedbackActivity"; public static final String PATH_FEEDBACK_EDIT_ACTIVITY = "/main/FeedbackEditActivity"; public static final String PATH_LIVE_PUNISHACTIVITY = "/live/PunishActivity"; + public static final String PATH_MAIN_MESSAGE = "/main/MainMessageActivity"; public static void forwardCommunityActivity() { @@ -235,7 +236,7 @@ public class RouteUtil { * 跳转到充值页面 */ public static void forwardMyCoin(Context context) { - String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=zhifu&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + (WordUtil.isNewZh() ? "1" : 0); + String url = CommonAppConfig.HOST + "/h5/mall/zhifu.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + (WordUtil.isNewZh() ? "1" : 0); ARouter.getInstance().build(PATH_COIN).withString("url", url).navigation(); } diff --git a/common/src/main/java/com/yunbao/common/views/AbsViewHolder.java b/common/src/main/java/com/yunbao/common/views/AbsViewHolder.java index 5394291af..eba2f74c6 100644 --- a/common/src/main/java/com/yunbao/common/views/AbsViewHolder.java +++ b/common/src/main/java/com/yunbao/common/views/AbsViewHolder.java @@ -26,6 +26,7 @@ public abstract class AbsViewHolder implements LifeCycleListener { mTag = getClass().getSimpleName(); mContext = context; mParentView = parentView; + onCreateHolder(); mContentView = LayoutInflater.from(context).inflate(getLayoutId(), mParentView, false); init(); } @@ -41,6 +42,9 @@ public abstract class AbsViewHolder implements LifeCycleListener { protected void processArguments(Object... args) { + } + public void onCreateHolder(){ + } protected abstract int getLayoutId(); diff --git a/common/src/main/res/drawable/backgroud_live_open_lfet.xml b/common/src/main/res/drawable/backgroud_live_open_lfet.xml index d35f34c4c..715da5dd3 100644 --- a/common/src/main/res/drawable/backgroud_live_open_lfet.xml +++ b/common/src/main/res/drawable/backgroud_live_open_lfet.xml @@ -3,6 +3,6 @@ + android:color="#2ED0FF" /> \ No newline at end of file diff --git a/common/src/main/res/drawable/backgroud_live_open_right.xml b/common/src/main/res/drawable/backgroud_live_open_right.xml index 314b5166d..0e26f656b 100644 --- a/common/src/main/res/drawable/backgroud_live_open_right.xml +++ b/common/src/main/res/drawable/backgroud_live_open_right.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/common/src/main/res/layout/view_complete_information.xml b/common/src/main/res/layout/view_complete_information.xml index 287b6d288..f391c9a07 100644 --- a/common/src/main/res/layout/view_complete_information.xml +++ b/common/src/main/res/layout/view_complete_information.xml @@ -77,7 +77,7 @@ android:background="@drawable/backgroud_live_open_lfet" android:gravity="center" android:text="@string/cancel" - android:textColor="#FFC621" + android:textColor="#2ED0FF" android:textSize="14sp" /> Y^%2#R^jV{UvHtEL8~liv!jHsTx!U{|nP<`}?P6t*o4T@4n~kea<~+ zC0801=IZR_3;=*@M7Ve{01!yHtt30()|CA9dVJxe3y;MBV4R2jO91vA@B{$T3w87| z!!k)EtUxt%nG%&FbfZRxqXA%kkWnX7q#y=Rj;PdH0k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K?{6*$E|^ZlOk3EveTo|$8OpCeJQTy@gEkLe=4_iScO`gnhd zvgmdRb!jm^&RReIl?m@Q z&s}nG-h64NgHz5s20i@X%e&&h&p`E;7tYUVw%}0n^qS=OnlCL!MRS{EH`g_86~oq2 zZN9p76Rxb0`BuI`Ug;#~+wa8>LOrTP^7Glbr5G3Jekm$odDxKgd&TbN12&BY@-Lnx zoOd%T051KXEK*nhV$fv>aDYi>Xa-d>4#rSXYtr``QWW^ z7tT{r?Je;vo$HhRuQqBP{8;nd)PKQ>^S`*uLO8#bRcB31h^)yn)OqX`QJ3TPM=fEI zE+=OSXXmo!*rv4YiVJ&m7v7m5aBP~uI_n!s1>1NyEgc@4Tekc-Ahb#8m{8IqTki_>l4%RNbEhrfEOR&_^h)SQsX-k3KLaUw zw}0Ix|CDw{7H#>C%!~&Ddnl?|b&TeevfI-^DDRztepCorkmaRr3y; z-Y!sTeyec#h1dTB(*m9;@-9;9e|=&5wKG8?kxoR zuCRIK-`BTCQhr&B{@mmBA};Jz&p*lwx=#_PuT(MUeE#6-L_>{F^!L1!Vj$1!AHf33E`k@)GtRGyl)hefL zyNlto#Y=AOUMy6SEqrleewD^Ozi(IBwjbRXTVyyfnz#OV*-6*#-M5@gXIlsQ-T$|F mzLxsVoUaSZ(!bvP$J{L歡迎來到HOSO 恭喜你獲得了新人獎勵 - com.newpdlive.sy.fileprovider + com.pdsylive.yo.fileprovider 數量 @@ -1174,7 +1174,7 @@ 已將%s發送至您的個性裝扮 迷你盲盒 典藏盲盒 - PD盲盒 + HOSO盲盒 投票創建失敗 個性裝扮 可隨機獲得,%s diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml index 633a6b76a..67493008f 100644 --- a/common/src/main/res/values/strings.xml +++ b/common/src/main/res/values/strings.xml @@ -1180,7 +1180,7 @@ %s has been sent to your personalized dress up Mini blind box Collection blind box - PD blind box + HOSO blind box Individual dressing Can be obtained randomly, %s I got %s %s diff --git a/config.gradle b/config.gradle index e971555bb..af2a0b040 100644 --- a/config.gradle +++ b/config.gradle @@ -4,16 +4,16 @@ ext { buildToolsVersion: "29.0.2", minSdkVersion : 23, targetSdkVersion : 34, - versionCode : 698, - versionName : "6.8.1" + versionCode : 702, + versionName : "6.8.2" ] manifestPlaceholders = [ //正式、 // serverHost : "https://napi.yaoulive.com", - serverHost : "https://napi.yaoulive.com", + serverHost : "https://api.hosolive.com", buildTime : new Date().format("MM-dd HH:mm", TimeZone.getTimeZone("GMT+8")), - testServerHost : "https://ceshi.yaoulive.com", + testServerHost : "https://api.hosolive.com", //百度语音识别 diff --git a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java index 0b43f7d0a..ec2e7d8f0 100644 --- a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java +++ b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java @@ -333,7 +333,7 @@ public class LiveFloatView implements Function1 { private Runnable liveCheck = new Runnable() { @Override public void run() { - HttpClient.getInstance().get("Live.checkLive", "") + HttpClient.getInstance().get("jianchazhibo", "") .params("liveuid", mLiveBean.getUid()) .params("stream", mLiveBean.getStream()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java index c373be3c6..326aa90e0 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java @@ -972,7 +972,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL dialog.findViewById(R.id.tv_into).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&tabIndex=1"; + String url = CommonAppConfig.HOST + "/h5/task/index.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&tabIndex=1"; WebViewActivity.forward(mContext, url, true); dialog.dismiss(); } diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java index 9085ab432..e1913f028 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java @@ -232,7 +232,7 @@ public class LiveAnchorActivity extends LiveActivity implements LiveFunctionClic mLivePushViewHolder.leave.setVisibility(View.GONE); sendSystemMessage(mContext.getString(R.string.live_anchor_come_back)); } - HttpClient.getInstance().get("Live.isLeave", "Live.isLeave") + HttpClient.getInstance().get("likaizhibo", "likaizhibo") .params("isleave", leave) .execute(new Callback() { @Override diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index 89382915e..f2c40d18f 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -1236,7 +1236,7 @@ public class LiveAudienceActivity extends LiveActivity { manager.micIngTypeTwo(event.getBean(), event.getLiveType(), event.getLiveTypeVal()); } else { //获取房间连麦状态 - HttpClient.getInstance().get("live.getDrLm", "live.getDrLm").params("uid", mLiveUid, true).execute(new HttpCallback() { + HttpClient.getInstance().get("huoqulianmaizhuangtai", "huoqulianmaizhuangtai").params("uid", mLiveUid, true).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { @@ -1602,7 +1602,7 @@ public class LiveAudienceActivity extends LiveActivity { case "3": AppEventsLogger.newLogger(mContext).logEvent("FB_customer_service"); if (bean.getLink() != null && !"".equals(bean.getLink())) { - WebViewActivity.forward(mContext, bean.getLink(), true); + WebViewActivity.forward(mContext, bean.getLink()+"?1=1", true); } else { startActivity(new Intent(mContext, SystemMessageActivity.class).putExtra("type", bean.getType()).putExtra("uid", "").putExtra("title", "").putExtra("headImg", "")); diff --git a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java index 1160fc7da..af74207b9 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java @@ -400,7 +400,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl // return; // } if (isDRPK != 1) { - HttpClient.getInstance().get("live.getdrnum", "live.getdrnum") + HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -414,7 +414,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl new DialogUitl.SimpleCallback2() { @Override public void onConfirmClick(Dialog dialog, String content) { - HttpClient.getInstance().get("live.createDRPKroom", "live.createDRPKroom") + HttpClient.getInstance().get("chuangjianduorenpk", "chuangjianduorenpk") .params("type", "1") .params("sign", "1") .execute(new HttpCallback() { @@ -572,7 +572,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl sendSystemMessageRy(mContext.getString(R.string.live_anchor_come_back)); } - HttpClient.getInstance().get("Live.isLeave", "Live.isLeave") + HttpClient.getInstance().get("likaizhibo", "likaizhibo") .params("uid", CommonAppConfig.getInstance().getUid()) .params("isleave", leave) .params("token", CommonAppConfig.getInstance().getToken()) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java index aed602546..7b0e4fbf9 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java @@ -410,7 +410,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl // return; // } if (isDRPK != 1) { - HttpClient.getInstance().get("live.getdrnum", "live.getdrnum") + HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -424,7 +424,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl new DialogUitl.SimpleCallback2() { @Override public void onConfirmClick(Dialog dialog, String content) { - HttpClient.getInstance().get("live.createDRPKroom", "live.createDRPKroom") + HttpClient.getInstance().get("chuangjianduorenpk", "chuangjianduorenpk") .params("type", "1") .params("sign", "1") .execute(new HttpCallback() { @@ -588,7 +588,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl mLiveAnchorViewHolder.setLeaveFlag(false); } - HttpClient.getInstance().get("Live.isLeave", "Live.isLeave") + HttpClient.getInstance().get("likaizhibo", "likaizhibo") .params("uid", CommonAppConfig.getInstance().getUid()) .params("isleave", leave) .params("token", CommonAppConfig.getInstance().getToken()) diff --git a/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java b/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java index 3d6e6e089..12e874ef6 100644 --- a/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java +++ b/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java @@ -307,6 +307,9 @@ public class WebViewActivityMedal extends AbsActivity { } public static void forward(Context context, String url) { + if(!url.contains("?")){ + url+="?t="+System.currentTimeMillis()+"&"; + } forward(context, url, true); } diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java index 12783029f..a1e3d2ce4 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java @@ -410,7 +410,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On * 设置贵族状态 */ private void loadUserVip() { - HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo") + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo") .params("uid", IMLoginManager.get(mContext).getUserInfo().getId()) .params("token", IMLoginManager.get(mContext).getUserInfo().getToken()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java index f2d2868ab..381d0ccc6 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java @@ -513,7 +513,7 @@ public class LiveGiftPopup extends AbsDialogFragment { * 设置贵族状态 */ private void loadUserVip() { - HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo") + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo") .params("uid", IMLoginManager.get(mContext).getUserInfo().getId()) .params("token", IMLoginManager.get(mContext).getUserInfo().getToken()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java index 6430619b4..6c4c5aba7 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java @@ -172,7 +172,7 @@ public class LiveMicUserDialogFragment extends AbsDialogFragment implements View @Override public void run() { - HttpClient.getInstance().get("Live.getUserDrLmPower", "Live.getUserDrLmPower") + HttpClient.getInstance().get("huoquyonghulianmaizhuangtai", "huoquyonghulianmaizhuangtai") .params("roomid", LiveActivity.mLiveUid) .params("uid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { @@ -280,7 +280,7 @@ public class LiveMicUserDialogFragment extends AbsDialogFragment implements View public void onConfirmClick(Dialog dialog, String content) { Log.e("ry", "退出112"); // //退出多人房间 - HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm") + HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai") .params("roomid", LiveActivity.mLiveUid) .params("uid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveTrickeryDialogFragment4Audience.java b/live/src/main/java/com/yunbao/live/dialog/LiveTrickeryDialogFragment4Audience.java index 69d279a7f..4eeb4cdb2 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveTrickeryDialogFragment4Audience.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveTrickeryDialogFragment4Audience.java @@ -63,8 +63,8 @@ public class LiveTrickeryDialogFragment4Audience extends AbsDialogFragment { EventBus.getDefault().register(this); RelativeLayout rlWebview= (RelativeLayout) findViewById(R.id.rlWebview); if (mWishWebViewHolder == null) { - String url= CommonAppConfig.HOST + "/index.php?g=Appapi&m=Turntable&a=prank"; - url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + String url= CommonAppConfig.HOST + "/h5/Turntable/prank.html?"; + url += "uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchor_id="+mLiveUid+ "&isZh=" + (WordUtil.isNewZh() ? "1" : 0); Log.i("tag",url); mWishWebViewHolder = new WishlistWebViewHolder(mContext, rlWebview, url); diff --git a/live/src/main/java/com/yunbao/live/dialog/MenuPopuwWindow.java b/live/src/main/java/com/yunbao/live/dialog/MenuPopuwWindow.java index e8a4c64bb..f8cf08ec6 100644 --- a/live/src/main/java/com/yunbao/live/dialog/MenuPopuwWindow.java +++ b/live/src/main/java/com/yunbao/live/dialog/MenuPopuwWindow.java @@ -151,7 +151,7 @@ public class MenuPopuwWindow implements View.OnClickListener { private Runnable setBlackRunnable = new Runnable() { @Override public void run() { - HttpClient.getInstance().get("User.setBlack", "setBlack") + HttpClient.getInstance().get("shezhilaheizhuangtai", "setBlack") .params("touid", userId); } }; diff --git a/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java b/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java index ff0669945..c1e3ad8ea 100644 --- a/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java +++ b/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java @@ -9,7 +9,7 @@ public class ImHttpConsts { public static final String GET_SYSTEM_MESSAGE_LIST = "getSystemMessageList"; public static final String GET_COMMUNITYLIST_LIST = "getCommunityList"; public static final String CHECK_BLACK = "checkBlack"; - public static final String SEND_DYNAMICCOMMENT = "sendDynamicComment"; + public static final String SEND_DYNAMICCOMMENT = "fabudongtaipinglun"; public static final String SET_BLACK = "setBlack"; public static final String GET_MESSAGEGIFTINFO = "getMessageGiftInfo"; diff --git a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java index dfa65a318..27f0f7ceb 100644 --- a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java +++ b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java @@ -20,7 +20,7 @@ public class ImHttpUtil { * 私信聊天页面用于获取用户信息 */ public static void getImUserInfo(String uids, HttpCallback callback) { - HttpClient.getInstance().get("Message.getLists", ImHttpConsts.GET_IM_USER_INFO) + HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", ImHttpConsts.GET_IM_USER_INFO) .execute(callback); } @@ -28,7 +28,7 @@ public class ImHttpUtil { * 互动消息回复 */ public static void sendDynamicComment(String dynamic_id, String content, String to_comment_id, HttpCallback callback) { - HttpClient.getInstance().get("Community.sendDynamicComment", ImHttpConsts.SEND_DYNAMICCOMMENT) + HttpClient.getInstance().get("fabudongtaipinglun", ImHttpConsts.SEND_DYNAMICCOMMENT) .params("dynamic_id", dynamic_id) .params("content", content) .params("to_comment_id", to_comment_id) @@ -39,7 +39,7 @@ public class ImHttpUtil { * 获取系统消息列表 */ public static void getSystemMessageList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Message.getListInfo", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST) + HttpClient.getInstance().get("huoquxitongxiaoxixiangqing", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST) .params("p", p) .params("type", type) .execute(callback); @@ -49,7 +49,7 @@ public class ImHttpUtil { * 猜你喜欢 */ public static void getCommunityList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Community.guessYouLike", ImHttpConsts.GET_COMMUNITYLIST_LIST) + HttpClient.getInstance().get("cainixihuandongtailiebiao", ImHttpConsts.GET_COMMUNITYLIST_LIST) .params("p", p) .execute(callback); } @@ -59,7 +59,7 @@ public class ImHttpUtil { * 判断自己有没有被对方拉黑,聊天的时候用到 */ public static void checkBlack(String touid, HttpCallback callback) { - HttpClient.getInstance().get("User.checkBlack", ImHttpConsts.CHECK_BLACK) + HttpClient.getInstance().get("jiancelaheizhuangtai", ImHttpConsts.CHECK_BLACK) .params("touid", touid) .execute(callback); } @@ -68,7 +68,7 @@ public class ImHttpUtil { * 拉黑对方, 解除拉黑 */ public static void setBlack(String touid, HttpCallback callback) { - HttpClient.getInstance().get("User.setBlack", ImHttpConsts.SET_BLACK) + HttpClient.getInstance().get("shezhilaheizhuangtai", ImHttpConsts.SET_BLACK) .params("touid", touid) .execute(callback); } @@ -78,7 +78,7 @@ public class ImHttpUtil { * 获取补偿消息详情 */ public static void getMessageGiftInfo(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.getMessageGiftInfo", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("chakanxiaoxilibanxiangqing", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -87,7 +87,7 @@ public class ImHttpUtil { * 删除系统消息 */ public static void delMsg(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.deleteSystemMessage", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("shanchuxitongxiaoxi", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -96,7 +96,7 @@ public class ImHttpUtil { * 已读 系统消息 */ public static void readMsg(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.systemMessageRead", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("xitongxiaoxiyiduzhuangtai", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -105,7 +105,7 @@ public class ImHttpUtil { * 领取礼物 */ public static void receiveGift(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.getMessageGiftDetails", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("lingquxitongxiaoxilibao", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -114,7 +114,7 @@ public class ImHttpUtil { * 处罚通知是否有未读消息 */ public static void getPenalizeStatus(HttpCallback callback) { - HttpClient.getInstance().get("Message.penalizeStatus", "Message.penalizeStatus") + HttpClient.getInstance().get("jianchaweiduchufanxiaoxi", "jianchaweiduchufanxiaoxi") .execute(callback); } @@ -122,7 +122,7 @@ public class ImHttpUtil { * 处罚通知列表 */ public static void getPenalizeList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Message.penalizeList", "Message.penalizeList") + HttpClient.getInstance().get("chufantongzhiliebiao", "chufantongzhiliebiao") .params("p", p) .execute(callback); } diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java index ccd32ba92..c05b8ae41 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java @@ -251,7 +251,7 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener { mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (i == 0 && s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { i = 1; - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "00:00") .params("type", "0") @@ -272,13 +272,13 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener { String pkUid = datas.getString("pkuid"); Log.i("seed", seed_msg.mResult.toString()); - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + pkUid) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @@ -768,7 +768,7 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener { //把画面设置成九宫格 dr_pk_view.setVisibility(View.VISIBLE); - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java index 79ecd5f25..27a9edeaf 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java @@ -546,7 +546,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener { //获取活动 private void getEvent() { if (btn_onecz_event != null) { - HttpClient.getInstance().get("Charge2.isFirstChargeIcons", "Charge2.isFirstChargeIcons") + HttpClient.getInstance().get("xinbanshifouxianshishouchongtubiao", "xinbanshifouxianshishouchongtubiao") .params("uid", CommonAppConfig.getInstance().getUid()) .params("token", CommonAppConfig.getInstance().getToken()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java index 039232dcc..8f90f78d5 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java @@ -397,7 +397,7 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.i("tts2", s1); mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "00:00") .params("type", "0") @@ -420,13 +420,13 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.e("ry1", datas.getString("win_uid") + "VVVVVV" + datas.getString("pkuid")); - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + pkUid) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @@ -940,7 +940,7 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V @Override protected void onDRPkApply(UserBean u) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java index 2c25aac46..ac7863546 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java @@ -350,7 +350,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.i("tts2", s1); mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "00:00").params("type", "0").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("jieshupk", "jieshupk").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "00:00").params("type", "0").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { @@ -363,10 +363,10 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.e("ry1", datas.getString("win_uid") + "VVVVVV" + datas.getString("pkuid")); - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -456,7 +456,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V public void onLinkDRMicPkQuit(String uid) { - HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { + HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info.length > 0) { @@ -697,12 +697,12 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V @Override protected void onDRPkApply(UserBean u) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive").params("uid", CommonAppConfig.getInstance().getUid()).params("pkuid", u.getId()).params("type", "1").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi").params("uid", CommonAppConfig.getInstance().getUid()).params("pkuid", u.getId()).params("type", "1").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { Log.i("多人PK", "1code = " + code + ", msgs = " + msgs + ", info = " + Arrays.deepToString(info) + " mApplyUid = " + mApplyUid); - HttpClient.getInstance().get("live.getdrnum", "live.getdrnum").execute(new HttpCallback() { + HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { Log.i(TAG, "code = " + code + ", msg = " + msg + ", info = " + Arrays.deepToString(info)); @@ -715,7 +715,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V } boolean finalAgree = agree; if (finalAgree) { - HttpClient.getInstance().get("live.joinDRPKroom", "live.joinDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", u.getId()).execute(new HttpCallback() { + HttpClient.getInstance().get("jiaruduorenpkfangjian", "jiaruduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", u.getId()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -738,7 +738,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V L.eSw("将自己从多人pk列表里剔除" + new Gson().toJson(drPkbeans)); } - HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { + HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info.length > 0) { @@ -1279,7 +1279,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V public void dRjoinOtherRoom(UserBean u) { L.eSw("dRjoinOtherRoom UserBeanUserBeanUserBeanUserBeanUserBeanUserBeanUserBeanUserBean "); setMyDrPkDetailsView(); - HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { + HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info.length > 0) { diff --git a/live/src/main/java/com/yunbao/live/socket/SocketClient.java b/live/src/main/java/com/yunbao/live/socket/SocketClient.java index f84d455b3..c0c1f9f0d 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketClient.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketClient.java @@ -796,7 +796,7 @@ public class SocketClient { params.topMargin = 0; LivePushTxViewHolder.mPreView.setLayoutParams(params); //断开连麦 - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout") + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java index 867e0c7c1..8118f3e67 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java @@ -43,7 +43,7 @@ public class SocketLinkMicPkUtil { */ public static void linkMicPkAccept(SocketClient client, String pkUid, String url, String name) { Log.i("pksend", "发送的pkurl=" + url + "****发送的pkname=" + name); - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("pkuid", pkUid) .params("type", "1") .params("sign", "1") @@ -51,7 +51,7 @@ public class SocketLinkMicPkUtil { @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("pkuid", pkUid) .params("type", "1") .params("sign", "1") diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java index 492773d4b..bad505369 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java @@ -457,7 +457,7 @@ public class SocketRyClient { } else if (TextUtils.equals(boxType, "2")) { boxTypeName = WordUtil.isNewZh() ? "典藏盲盒" : "Collection blind box"; } else { - boxTypeName = WordUtil.isNewZh() ? "PD盲盒" : "PD blind box"; + boxTypeName = WordUtil.isNewZh() ? "HOSO盲盒" : "HOSO blind box"; } AllServerNotifyEvent allServerNotifyEvent = new AllServerNotifyEvent() @@ -838,7 +838,7 @@ public class SocketRyClient { stringBuffer.append(sendQuickGiftModel.getUserNicename()) .append(WordUtil.isNewZh() ? " 送出了 " : " sent ") .append(sendQuickGiftModel.getQuickGiftNumber()) - .append(WordUtil.isNewZh() ? " 個小PD " : " small pandas "); + .append(WordUtil.isNewZh() ? " 個小HOSO " : " small pandas "); systemChatMessage2(stringBuffer.toString()); Bus.get().post(new QuickGiftingEvent().setHotNum(sendQuickGiftModel.getHotNum())); break; @@ -1486,7 +1486,7 @@ public class SocketRyClient { } }); //断开连麦 - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout") + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java index 6049239b0..523ee6447 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java @@ -39,7 +39,7 @@ public class SocketRyLinkMicPkUtil { * @param pkUid 对方主播的uid */ public static void linkMicPkAccept(SocketRyClient client, String pkUid, String url, String name) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") @@ -49,7 +49,7 @@ public class SocketRyLinkMicPkUtil { public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/socket/SocketSwClient.java b/live/src/main/java/com/yunbao/live/socket/SocketSwClient.java index 4bcc60620..c96a14f87 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketSwClient.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketSwClient.java @@ -463,7 +463,7 @@ public class SocketSwClient { } else if (TextUtils.equals(boxType, "2")) { boxTypeName = WordUtil.isNewZh() ? "典藏盲盒" : "Collection blind box"; } else { - boxTypeName = WordUtil.isNewZh() ? "PD盲盒" : "PD blind box"; + boxTypeName = WordUtil.isNewZh() ? "HOSO盲盒" : "HOSO blind box"; } AllServerNotifyEvent allServerNotifyEvent = new AllServerNotifyEvent().setBlindBoxId(map.getString("blind_box_id")).setBoxType(boxType).setBoxTypeName(boxTypeName).setDressName(WordUtil.isNewZh() ? map.getString("dress_name") : TextUtils.isEmpty(map.getString("dress_nameen")) ? map.getString("dress_name") : map.getString("dress_nameen")).setGiftNotification(map.getString("gift_notification")).setGiftName(WordUtil.isNewZh() ? mCt.getString("giftname") : mCt.getString("giftnameen")).setUserNiceName(map.getString("uname")).setGiftIcon(map.getString("gifticon")).setAnchorName(map.getString("ancherName")).setDisplaySrc(map.getString("display_src")); Log.e("AllServerNotifyEvent", allServerNotifyEvent.toString()); @@ -767,7 +767,7 @@ public class SocketSwClient { case "sendQuickGift": SendQuickGiftModel sendQuickGiftModel = GsonUtils.fromJson(map.toString(), SendQuickGiftModel.class); StringBuffer stringBuffer = new StringBuffer(); - stringBuffer.append(sendQuickGiftModel.getUserNicename()).append(WordUtil.isNewZh() ? " 送出了 " : " sent ").append(sendQuickGiftModel.getQuickGiftNumber()).append(WordUtil.isNewZh() ? " 個小PD " : " small pandas "); + stringBuffer.append(sendQuickGiftModel.getUserNicename()).append(WordUtil.isNewZh() ? " 送出了 " : " sent ").append(sendQuickGiftModel.getQuickGiftNumber()).append(WordUtil.isNewZh() ? " 個小HOSO " : " small pandas "); systemChatMessage2(stringBuffer.toString()); Bus.get().post(new QuickGiftingEvent().setHotNum(sendQuickGiftModel.getHotNum())); break; @@ -1416,7 +1416,7 @@ public class SocketSwClient { // if (rtcRoom != null) { Bus.get().post(new LiveAudienceEvent().setType(LiveAudienceEvent.LiveAudienceType.DISCONNEXT_PK_TIME)); //断开连麦 - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout").execute(new HttpCallback() { + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java index 34cc7bb6f..3051d196e 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java @@ -39,7 +39,7 @@ public class SocketSwLinkMicPkUtil { * @param pkUid 对方主播的uid */ public static void linkMicPkAccept(SocketSwClient client, String pkUid, String url, String name) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") @@ -49,7 +49,7 @@ public class SocketSwLinkMicPkUtil { public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { L.eSw("1111111111111111111111111111"); - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java index fdf3883ba..b7ab67045 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java @@ -144,7 +144,7 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder { @Override public void onClick(View v) { //获取房间连麦状态 - HttpClient.getInstance().get("live.getDrLm", "live.getDrLm") + HttpClient.getInstance().get("huoqulianmaizhuangtai", "huoqulianmaizhuangtai") .params("uid", mLiveUid, true) .execute(new HttpCallback() { @Override @@ -729,8 +729,8 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder { * 观众打开主播的整蛊惑单窗口 */ public void openZGListWindow() { - String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Turntable&a=tricky"; - url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + String url = CommonAppConfig.HOST + "/h5/activity/Turntable/index.html?"; + url += "uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid + "&isZh=" + (WordUtil.isNewZh() ? "1" : 0); Log.i("tag", url); Bundle bundle1 = new Bundle(); diff --git a/live/src/main/java/com/yunbao/live/views/LiveNewReadySwViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveNewReadySwViewHolder.java index 0be3d139a..d2df95907 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveNewReadySwViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveNewReadySwViewHolder.java @@ -29,6 +29,7 @@ import com.lxj.xpopup.core.BasePopupView; import com.lxj.xpopup.interfaces.XPopupCallback; import com.yunbao.common.CommonAppConfig; import com.yunbao.common.Constants; +import com.yunbao.common.activity.WebViewActivity; import com.yunbao.common.bean.IMLoginModel; import com.yunbao.common.bean.LiveAnchorCallMeModel; import com.yunbao.common.bean.LiveAnchorSayModel; @@ -546,17 +547,13 @@ public class LiveNewReadySwViewHolder extends AbsViewHolder implements View.OnCl IMLoginModel model = IMLoginManager.get(mContext).getUserInfo(); StringBuffer url = new StringBuffer(); url.append(CommonAppConfig.HOST); - if (TextUtils.equals(ct, "zh")) { - url.append("/index.php?g=portal&m=page&a=index&id=671"); - } else { - url.append("/index.php?g=portal&m=page&a=index&id=672"); - } + url.append("/h5/page/index.html?id=708"); url.append("&uid=") .append(model.getId()) .append("&token=") .append(model.getToken()).append("&isZh=") .append(WordUtil.isNewZh() ? "1" : 0); - RouteUtil.forwardLiveZhuangBanActivity(url.toString(), false); + WebViewActivity.forward(mContext, url.toString(), false); } else if (i == R.id.btn_live_anchor_say) { openAnchorSayDialog(); } else if (i == R.id.btn_live_anchor_call_me) { diff --git a/live/src/main/java/com/yunbao/live/views/LivePlayRyViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePlayRyViewHolder.java index e6a66e1e7..61525b6d5 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePlayRyViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePlayRyViewHolder.java @@ -1276,7 +1276,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder { audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION); audioManager.setSpeakerphoneOn(true); - HttpClient.getInstance().get("live.joinDrLm", "live.joinDrLm") + HttpClient.getInstance().get("jiaruduorenlianmai", "jiaruduorenlianmai") .params("roomid", LiveActivity.mLiveUid) .execute(new HttpCallback() { @Override diff --git a/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java index d7e1eed2a..77ecab073 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java @@ -319,7 +319,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder { } } - HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", liveUid).execute(new HttpCallback() { + HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", liveUid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info.length > 0) { @@ -404,7 +404,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder { */ private void joinLiveMic() { L.eSw("joinLiveMic"); - HttpClient.getInstance().get("live.joinDrLm", "live.joinDrLm").params("roomid", LiveActivity.mLiveUid).execute(new HttpCallback() { + HttpClient.getInstance().get("jiaruduorenlianmai", "jiaruduorenlianmai").params("roomid", LiveActivity.mLiveUid).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { Log.e("ry", code + "热热热"); diff --git a/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java index 169b32dce..c38a2b902 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java @@ -506,7 +506,7 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX aheadOfScheduleEndPK(mPkUid, CommonAppConfig.getInstance().getUserBean().getUserNiceName(), (String) tv_avatarOther_name.getTag()); //断开连麦 LiveRyAnchorActivity.isDRPK = 0; - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout") + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -514,7 +514,7 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "1") .params("type", "1") @@ -559,14 +559,14 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX .param("uid", CommonAppConfig.getInstance().getUid()); seed_msg.create(); Log.i("seed", seed_msg.mResult.toString()); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + pkUid) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @@ -584,13 +584,13 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX seed_msgs.create(); Log.i("seed", seed_msgs.mResult.toString()); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + LiveRyLinkMicPkPresenter.oldmPkUid) .params("jsonstr", seed_msgs.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msgs.mResult.toString()) .execute(new HttpCallback() { @@ -1045,13 +1045,13 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX seed_msg.create(); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + pkUid) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java index add57ceb0..5df1fabf7 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java @@ -177,13 +177,13 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX aheadOfScheduleEndPK(mPkUid, CommonAppConfig.getInstance().getUserBean().getUserNiceName(), (String) tv_avatarOther_name.getTag()); //断开连麦 LiveSwAnchorActivity.isDRPK = 0; - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout").execute(new HttpCallback() { + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { } }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "1").params("type", "1").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("jieshupk", "jieshupk").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "1").params("type", "1").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { @@ -201,11 +201,11 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX SocketSendBean seed_msg = new SocketSendBean().param("_method_", Constants.SOCKET_LINK_MIC_PK).param("action", 9).param("msgtype", 10).param("win_uid", datas.getString("win_uid")).param("uid", CommonAppConfig.getInstance().getUid()); seed_msg.create(); Log.i("seed", seed_msg.mResult.toString()); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -213,10 +213,10 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX seed_msgs.create(); Log.i("seed", seed_msgs.mResult.toString()); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + LiveSwLinkMicPkPresenter.oldmPkUid).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + LiveSwLinkMicPkPresenter.oldmPkUid).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -292,7 +292,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX swManager.joinChannelEx(CommonAppConfig.getInstance().getUid(), CommonAppConfig.SWToken, u.getId(), SWAuManager.getChannelName(u.getId())); } - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") @@ -301,7 +301,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") @@ -600,10 +600,10 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX SocketSendBean seed_msg = new SocketSendBean().param("_method_", Constants.SOCKET_SYSTEM).param("action", 1).param("ct", ct); seed_msg.create(); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { + HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java index 42a0219f6..e0d3496a2 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java @@ -108,7 +108,7 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi @Override public void onConfirmClick(Dialog dialog, String content) { //断开连麦 - HttpClient.getInstance().post("livepk.setliveuserout", "livepk.setliveuserout") + HttpClient.getInstance().post("chaxunshoudongpkcishu", "chaxunshoudongpkcishu") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -116,7 +116,7 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi } }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("addtime", "00:00") .params("type", "0") .params("sign", "1") @@ -143,14 +143,14 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi params.topMargin = 0; LivePushTxViewHolder.mPreView.setLayoutParams(params); } - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + pkUid) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msg.mResult.toString()) .execute(new HttpCallback() { @@ -168,13 +168,13 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi seed_msgs.create(); Log.i("seed", seed_msgs.mResult.toString()); - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + LiveLinkMicPkPresenter.oldmPkUid) .params("jsonstr", seed_msgs.mResult.toString()) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2") + HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2") .params("GroupId", "g" + CommonAppConfig.getInstance().getUid()) .params("jsonstr", seed_msgs.mResult.toString()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 9e811c460..aceda8ca5 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -5523,7 +5523,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis @Override public void run() { BannerBean bannerBean = new BannerBean(); - bannerBean.setWishlistIcon(model.getWishlistIcon()).setWishlistName(model.getWishlistName()).setWishlistNum(model.getWishlistNum()).setWishlistProgress(model.getWishlistProgress()).setmLink(CommonAppConfig.HOST + "/index.php").setType(1); + bannerBean.setWishlistIcon(model.getWishlistIcon()).setWishlistName(model.getWishlistName()).setWishlistNum(model.getWishlistNum()).setWishlistProgress(model.getWishlistProgress()).setmLink(CommonAppConfig.HOST + "/h5/wish/index.html").setType(1); bannerBean.setShow_type("2"); mTopBannerList.add(bannerBean); LiveChatBean bean = new LiveChatBean(); @@ -6243,7 +6243,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis } BannerBean bannerBean = new BannerBean(); - bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon()).setWishlistName(wishListProgress.getWishlistName()).setWishlistNum(wishListProgress.getWishlistNum()).setWishlistProgress(wishListProgress.getWishlistProgress()).setmLink(CommonAppConfig.HOST + "/index.php").setType(1); + bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon()).setWishlistName(wishListProgress.getWishlistName()).setWishlistNum(wishListProgress.getWishlistNum()).setWishlistProgress(wishListProgress.getWishlistProgress()).setmLink(CommonAppConfig.HOST + "/h5/wish/index.html").setType(1); bannerBean.setShow_type("2"); if (mTopBannerList.size() == 1 || mTopBannerList.size() == 0) { mTopBannerList.add(bannerBean); @@ -6302,7 +6302,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo(); String type = ""; StringBuffer htmlUrl = new StringBuffer(); - htmlUrl.append(bean.getLink()).append(bean.getLink().contains("?") ? "&uid=" : "?uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&anchorUid=").append(mLiveUid).append("&liveUid=").append(mLiveUid).append("&t=").append(System.currentTimeMillis()).append("&g=Appapi&m=Wish&a=index").append("&isZh=").append(((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + htmlUrl.append(bean.getLink()).append(bean.getLink().contains("?") ? "&uid=" : "?uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&anchorUid=").append(mLiveUid).append("&liveUid=").append(mLiveUid).append("&t=").append(System.currentTimeMillis()).append("&isZh=").append(((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); if (TextUtils.equals(type, "1")) { ZhuangBanActivity.forward(mContext, htmlUrl.toString(), false, 1); } else { @@ -6357,7 +6357,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo(); String type = ""; StringBuffer htmlUrl = new StringBuffer(); - htmlUrl.append(bean.getLink()).append(bean.getLink().contains("?") ? "&uid=" : "?uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&anchorUid=").append(mLiveUid).append("&liveUid=").append(mLiveUid).append("&t=").append(System.currentTimeMillis()).append("&g=Appapi&m=Wish&a=index").append("&isZh=").append(((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + htmlUrl.append(bean.getLink()).append(bean.getLink().contains("?") ? "&uid=" : "?uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&anchorUid=").append(mLiveUid).append("&liveUid=").append(mLiveUid).append("&t=").append(System.currentTimeMillis()).append("&isZh=").append(((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); if (TextUtils.equals(type, "1")) { ZhuangBanActivity.forward(mContext, htmlUrl.toString(), false, 1); } else { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java index c40d4f83d..f7a5afea9 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java @@ -160,7 +160,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder { ToastUtil.show("多人PK次数已用完"); } else { //開始多人PK - HttpClient.getInstance().get("live.startDRPK", "live.startDRPK") + HttpClient.getInstance().get("kaishiduorenpk", "kaishiduorenpk") .params("roomid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { @Override @@ -182,7 +182,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder { btn_end_pk.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - HttpClient.getInstance().get("live.endDRpk", "live.endDRpk") + HttpClient.getInstance().get("jieshuduorenpkv2", "jieshuduorenpkv2") .params("roomid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { @Override @@ -450,7 +450,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder { if (model != null && model.getWishlist().size() > 0) { BannerBean bannerModel = new BannerBean(); bannerModel.setShow_type("2"); - bannerModel.setLink(CommonAppConfig.HOST + "/index.php"); + bannerModel.setLink(CommonAppConfig.HOST + "/h5/wish/index.html"); bannerModel.setImageUrl(model.getImg()); addWishList(bannerModel); diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index b01ac66e1..1d1524deb 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -1201,7 +1201,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe if (isSw) { if (mLivePlayViewHolder != null) { mLivePlayViewHolder.endLiveMic(); - HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm") + HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai") .params("roomid", liveID) .execute(new HttpCallback() { @Override @@ -1238,7 +1238,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe Log.e("ry", "下麦成功"); // 该用户切换为观众成功,可以以观众身份进行音视频 //退出多人房间 - HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm") + HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai") .params("roomid", liveID) .execute(new HttpCallback() { @Override diff --git a/live/src/main/res/layout/dialog_live_task.xml b/live/src/main/res/layout/dialog_live_task.xml index 46ffd45a9..64caeb5c6 100644 --- a/live/src/main/res/layout/dialog_live_task.xml +++ b/live/src/main/res/layout/dialog_live_task.xml @@ -47,9 +47,8 @@ diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml index dd1cd4331..1e8bc007b 100644 --- a/main/src/main/AndroidManifest.xml +++ b/main/src/main/AndroidManifest.xml @@ -175,6 +175,7 @@ + \ No newline at end of file diff --git a/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java b/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java index 0881d7c37..0bd4cc421 100644 --- a/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java @@ -417,7 +417,7 @@ public class EditProfileActivity extends AbsActivity { dialog.findViewById(R.id.tv_into).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&tabIndex=1"; + String url = CommonAppConfig.HOST + "/h5/task/index.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&tabIndex=1"; WebViewActivity.forward(mContext, url,false); dialog.dismiss(); } diff --git a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java index 951927855..626880de7 100644 --- a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java @@ -27,6 +27,7 @@ import android.provider.Settings; import android.util.Base64; import android.util.Log; import android.view.View; +import android.view.ViewGroup; import android.view.Window; import android.view.WindowManager; import android.webkit.JavascriptInterface; @@ -132,7 +133,7 @@ public class EntryActivity extends AppCompatActivity { private static boolean mShowInvite;//显示邀请码弹窗 private static Context Contexts; private ImageView img_view; - private LinearLayout lt_btn_twitter, lt_btn_facebook, lt_customer; + private ViewGroup lt_btn_twitter, lt_btn_facebook, lt_customer; private String kefuUrl = ""; private boolean mBtnClick = false; private Dialog loginLoadingDialog; @@ -403,6 +404,12 @@ public class EntryActivity extends AppCompatActivity { webViewLayout.setVisibility(View.GONE); } }); + //隐藏第三方登陆入口 + lt_btn_facebook.setVisibility(View.GONE); + findViewById(R.id.lt_btn_twitter).setVisibility(View.GONE); + btn_line.setVisibility(View.GONE); + googleLayout.setVisibility(View.GONE); + } private void verfiy(int loginType) { @@ -719,7 +726,7 @@ public class EntryActivity extends AppCompatActivity { if (CommonAppConfig.IS_GOOGLE_PLAY == 1 || CommonAppConfig.IS_GOOGLE_PLAY == 2 || CommonAppConfig.IS_GOOGLE_PLAY == 3) { EntryActivity.this.startActivity(new Intent(EntryActivity.this, OneLoginActivity.class)); } else { - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor").execute(new HttpCallback() { + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info[0] != null) { diff --git a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java index 1ad1c7c07..7e4c8e0ab 100644 --- a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java @@ -303,7 +303,7 @@ public class LoginActivity extends AbsActivity { public void callback(UserBean bean) { //融云连接服务器 RongcloudIMManager.connectIM(activity); - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor") + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index 4097a2884..0813207a2 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -61,6 +61,7 @@ import com.yunbao.common.bean.QiniuLog; import com.yunbao.common.glide.ImgLoader; import com.yunbao.common.server.DownloadService; import com.yunbao.common.utils.AppManager; +import com.yunbao.common.utils.L; import com.yunbao.common.utils.LogUtil; import com.yunbao.common.utils.MobclickAgent; import com.yunbao.common.CommonAppConfig; @@ -135,6 +136,7 @@ import com.yunbao.main.interfaces.MainAppBarLayoutListener; import com.yunbao.main.manager.imrongcloud.ConversationIMListManager; import com.yunbao.main.utils.GenerateTestUserSig; import com.yunbao.main.views.FloatBannerView; +import com.yunbao.main.views.MainGameViewHolder; import com.yunbao.main.views.MainHomeCommunityViewHolder; import com.yunbao.main.views.MainHomeLiveViewHolder; import com.yunbao.main.views.MainHomeViewHolder; @@ -178,7 +180,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene private MainHomeLiveViewHolder mHomeLiveViewHolder; private MainHomeViewHolder mainHomeViewHolder; private MainHomeCommunityViewHolder mMainHomeCommunityViewHolder; - private MainMessageViewHolder mainMessageViewHolder; + private MainGameViewHolder mainMessageViewHolder; private MainMeViewHolder mMeViewHolder; private AbsMainViewHolder[] mViewHolders; private View mBottom; @@ -558,7 +560,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene } } } - } else if (index == 2) { + } else if (index == 1) { floatBanner.setVisibility(View.GONE); floatRedPacket.setVisibility(View.GONE); floatWarOrder.setVisibility(View.GONE); @@ -1307,7 +1309,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene vh = mMainHomeCommunityViewHolder; } else if (position == 1) { - mainMessageViewHolder = new MainMessageViewHolder(this, parent); + mainMessageViewHolder = new MainGameViewHolder(this, parent); vh = mainMessageViewHolder; @@ -1503,9 +1505,10 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene //消息中心 @Subscribe(threadMode = ThreadMode.MAIN, sticky = true) public void onMessageIMEvent(MessageIMEvent event) { + //TODO 消息红点 messageNumber = event.getNumber(); if (event.getNumber() > 0) { - v_table_redpoint.setVisibility(View.VISIBLE); + v_table_redpoint.setVisibility(View.GONE); if (event.getNumber() > 99) { v_table_redpoint.setText("99+"); } else { @@ -1572,7 +1575,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene if (mViewPager != null) { mViewPager.setCurrentItem(2); mTabButtonGroup.setCurPosition(2); - mainMessageViewHolder.setHomeZdyPop(NoviceInstructorManager.get(this).getHomeZdyPop()); + // mainMessageViewHolder.setHomeZdyPop(NoviceInstructorManager.get(this).getHomeZdyPop()); } } diff --git a/main/src/main/java/com/yunbao/main/activity/MainMessageActivity.java b/main/src/main/java/com/yunbao/main/activity/MainMessageActivity.java new file mode 100644 index 000000000..61638c42f --- /dev/null +++ b/main/src/main/java/com/yunbao/main/activity/MainMessageActivity.java @@ -0,0 +1,47 @@ +package com.yunbao.main.activity; + +import android.os.Bundle; +import android.view.View; + +import com.alibaba.android.arouter.facade.annotation.Route; +import com.yunbao.common.activity.AbsActivity; +import com.yunbao.common.utils.RouteUtil; +import com.yunbao.main.R; +import com.yunbao.main.views.MainMessageViewHolder; + +@Route(path = RouteUtil.PATH_MAIN_MESSAGE) +public class MainMessageActivity extends AbsActivity { + MainMessageViewHolder messageViewHolder; + + @Override + protected int getLayoutId() { + return R.layout.view_game_holder; + } + + @Override + protected void main(Bundle savedInstanceState) { + super.main(savedInstanceState); + messageViewHolder = new MainMessageViewHolder(mContext, findViewById(R.id.rootView)); + messageViewHolder.getContentView().findViewById(R.id.btn_back).setVisibility(View.VISIBLE); + messageViewHolder.addToParent(); + } + + + @Override + public void onDestroy() { + super.onDestroy(); + messageViewHolder.onDestroy(); + } + + @Override + public void onResume() { + super.onResume(); + messageViewHolder.onResume(); + } + + @Override + public void onPause() { + super.onPause(); + messageViewHolder.onPause(); + } +} diff --git a/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java b/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java index a89ec5c31..c89b26e6c 100644 --- a/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java @@ -181,66 +181,66 @@ public class MyWalletActivity extends AbsActivity { rView.setVisibility(View.VISIBLE); walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); googleFragment1 = new GoogleFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaycoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment1.setArguments(bundle1); googleFragment2 = new GoogleFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaygole&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment2.setArguments(bundle2); } else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) { //华为 rView.setVisibility(View.VISIBLE); walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); huaWeiFragment1 = new HuaWeiFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd"); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName()); huaWeiFragment1.setArguments(bundle1); huaWeiFragment2 = new HuaWeiFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd"); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName()); huaWeiFragment2.setArguments(bundle2); } else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) { rView.setVisibility(View.VISIBLE); walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); samsungFragment1 = new SamsungFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); samsungFragment1.setArguments(bundle1); samsungFragment2 = new SamsungFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); samsungFragment2.setArguments(bundle2); } else { walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); googleFragment1 = new GoogleFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&first_page=1&m=Mall&a=walletcoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/walletcoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment1.setArguments(bundle1); googleFragment2 = new GoogleFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletgold&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/walletgold.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment2.setArguments(bundle2); } } else { @@ -249,50 +249,50 @@ public class MyWalletActivity extends AbsActivity { walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); googleFragment1 = new GoogleFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaycoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment1.setArguments(bundle1); googleFragment2 = new GoogleFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaygole&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment2.setArguments(bundle2); } else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) { rView.setVisibility(View.VISIBLE); walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); huaWeiFragment1 = new HuaWeiFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd"); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName()); huaWeiFragment1.setArguments(bundle1); huaWeiFragment2 = new HuaWeiFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd"); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName()); huaWeiFragment2.setArguments(bundle2); } else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) { rView.setVisibility(View.VISIBLE); walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); samsungFragment1 = new SamsungFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); samsungFragment1.setArguments(bundle1); samsungFragment2 = new SamsungFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); samsungFragment2.setArguments(bundle2); } else { Log.i("tss", "不是首充"); @@ -300,17 +300,17 @@ public class MyWalletActivity extends AbsActivity { walletFragment = new WalletFragment(); Bundle bundle = new Bundle(); - bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); walletFragment.setArguments(bundle); googleFragment1 = new GoogleFragment(); Bundle bundle1 = new Bundle(); - bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletcoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/walletcoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment1.setArguments(bundle1); googleFragment2 = new GoogleFragment(); Bundle bundle2 = new Bundle(); - bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletgold&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); + bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/walletgold.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name="+mContext.getPackageName() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0")); googleFragment2.setArguments(bundle2); } } @@ -425,7 +425,7 @@ public class MyWalletActivity extends AbsActivity { @Override protected void onPause() { super.onPause(); - CommonHttpUtil.cancel("Charge.Google_sec_pay"); + CommonHttpUtil.cancel("gugedingdanyanzheng"); if (payHandler != null) { payHandler.removeCallbacks(runnable1); payHandler.removeCallbacks(runnable2); @@ -435,7 +435,7 @@ public class MyWalletActivity extends AbsActivity { @Override protected void onDestroy() { super.onDestroy(); - CommonHttpUtil.cancel("Charge.Google_sec_pay"); + CommonHttpUtil.cancel("gugedingdanyanzheng"); if (payHandler != null) { payHandler.removeCallbacks(runnable1); payHandler.removeCallbacks(runnable2); diff --git a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java index 82fcf0718..c30ff6b51 100644 --- a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java @@ -46,6 +46,7 @@ import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.manager.NoviceInstructorManager; import com.yunbao.common.manager.imrongcloud.RongcloudIMManager; import com.yunbao.common.utils.DialogUitl; +import com.yunbao.common.utils.L; import com.yunbao.common.utils.RouteUtil; import com.yunbao.common.utils.ToastUtil; import com.yunbao.common.http.LiveHttpUtil; @@ -241,6 +242,7 @@ public class RegisterActivity extends AbsActivity { webview.addJavascriptInterface(new JsBridge(), "jsBridge"); // 也可以加载本地html(webView.loadUrl("file:///android_asset/xxx.html")) webview.loadUrl(CommonAppConfig.HOST + "/h5/live/TCaptcha.html" + "?isZh=" + (WordUtil.isNewZh() ? "1" : 0)); + L.e(webview.getUrl()); } @@ -485,7 +487,7 @@ public class RegisterActivity extends AbsActivity { @Override public void run() { IMLoginModel userInfo = IMLoginManager.get(activity).getUserInfo(); - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor").params("uid", userInfo.getId()).params("token", userInfo.getToken()).execute(new HttpCallback() { + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid").params("uid", userInfo.getId()).params("token", userInfo.getToken()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info[0] != null) { diff --git a/main/src/main/java/com/yunbao/main/activity/RewardActivity.java b/main/src/main/java/com/yunbao/main/activity/RewardActivity.java index 47655f3bb..ac22b6657 100644 --- a/main/src/main/java/com/yunbao/main/activity/RewardActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/RewardActivity.java @@ -328,6 +328,9 @@ public class RewardActivity extends AbsActivity { } public static void forward(Context context, String url) { + if(!url.contains("?")){ + url+="?t="+System.currentTimeMillis()+"&"; + } forward(context, url, true); } diff --git a/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java b/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java index 4f58b217e..010485285 100644 --- a/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java +++ b/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java @@ -52,6 +52,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter { private Context context; private int Height; private int getWeekIntIndex = 0; + private boolean isHideBanner = false; public MainHomeLiveAdapter(Context context, int h) { super(context); @@ -67,10 +68,10 @@ public class MainHomeLiveAdapter extends RefreshAdapter { @Override public int getItemViewType(int position) { - if (position == 0) { + if (position == 0 && !isHideBanner) { return HEAD; } else if (position > 0) { - LiveBean mode = mList.get(position - 1); + LiveBean mode = getBean(position); if (TextUtils.equals(mode.getIs_week(), "1")) { return WEEKLAYOUT; } else { @@ -81,6 +82,20 @@ public class MainHomeLiveAdapter extends RefreshAdapter { } return LEFT; } + private LiveBean getBean(int position) { + if(isHideBanner){ + return mList.get(position); + }else{ + return mList.get(position-1); + } + } + private int getPosition(int position) { + if(isHideBanner){ + return position; + }else{ + return position-1; + } + } @NonNull @Override @@ -115,7 +130,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter { @Override public void onBindViewHolder(@NonNull RecyclerView.ViewHolder vh, int position) { if (vh instanceof MainHomeLiveWeekItemViewHolder) { - ((MainHomeLiveWeekItemViewHolder) vh).loadViewDate(mList.get(position - 1), position - 1, Height, new MainHomeLiveWeekItemViewHolder.OnItemClickListener() { + ((MainHomeLiveWeekItemViewHolder) vh).loadViewDate(getBean(position), getPosition(position), Height, new MainHomeLiveWeekItemViewHolder.OnItemClickListener() { @Override public void onItemClick(LiveBean bean, int position) { if (mOnItemClickListener != null) { @@ -124,7 +139,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter { } }); } else if (vh instanceof MainHomeLiveItemViewHolder) { - ((MainHomeLiveItemViewHolder) vh).loadViewDate(mList.get(position - 1), position - 1, Height, new MainHomeLiveItemViewHolder.OnItemClickListener() { + ((MainHomeLiveItemViewHolder) vh).loadViewDate(getBean(position), getPosition(position), Height, new MainHomeLiveItemViewHolder.OnItemClickListener() { @Override public void onItemClick(LiveBean bean, int position) { if (mOnItemClickListener != null) { @@ -137,9 +152,18 @@ public class MainHomeLiveAdapter extends RefreshAdapter { @Override public int getItemCount() { + if(isHideBanner){ + return super.getItemCount(); + } return super.getItemCount() + 1; } + public void hideBanner() { + getHeadView().setVisibility(View.GONE); + isHideBanner = true; + notifyItemChanged(0); + } + class HeadVh extends RecyclerView.ViewHolder { public HeadVh(View itemView) { diff --git a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java index fc6406056..072066386 100644 --- a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java +++ b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java @@ -89,14 +89,14 @@ public class OneLoginDialog extends AbsDialogFragment { btn_enter.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - HttpClient.getInstance().get("User.userBindAgentAdmin", "User.userBindAgentAdmin") + HttpClient.getInstance().get("yonghubangdingdaili", "yonghubangdingdaili") .params("invitation_code", bundle.getString("code")) .params("user_nicename", bundle.getString("name")) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor") + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java index eef8e6b27..9fc79a0a3 100644 --- a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java +++ b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java @@ -45,7 +45,7 @@ public class MainHttpUtil { * 手机号 密码登录 */ public static void login(String phoneNum, String pwd, String uuid, HttpCallback callback) { - HttpClient.getInstance().get("Login.userLogin", MainHttpConsts.LOGIN) + HttpClient.getInstance().get("huiyuandenglu", MainHttpConsts.LOGIN) .params("user_login", phoneNum) .params("user_pass", pwd) .params("pushid", "") @@ -67,7 +67,7 @@ public class MainHttpUtil { } else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) { appSource = "2"; } - HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD) + HttpClient.getInstance().get("disanfangdenglu", MainHttpConsts.LOGIN_BY_THIRD) .params("openid", openid) .params("nicename", nicename) .params("app_source", appSource) @@ -93,7 +93,7 @@ public class MainHttpUtil { } else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) { appSource = "2"; } - HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD) + HttpClient.getInstance().get("disanfangdenglu", MainHttpConsts.LOGIN_BY_THIRD) .params("openid", openid) .params("app_source", appSource) .params("admin_id", promoCode) @@ -115,7 +115,7 @@ public class MainHttpUtil { */ public static void requestBonus(HttpCallback callback) { String appVer = AppUtils.getAppVersionName(); - HttpClient.getInstance().get("User.bonus", MainHttpConsts.REQUEST_BONUS) + HttpClient.getInstance().get("yonghudenglujiangli", MainHttpConsts.REQUEST_BONUS) .params("appAndroidVersion", appVer) .execute(callback); } @@ -124,7 +124,7 @@ public class MainHttpUtil { * 新版本签到奖励 */ public static void requestNewBonus(HttpCallback callback) { - HttpClient.getInstance().get("Sign.userSign", MainHttpConsts.REQUEST_BONUS) + HttpClient.getInstance().get("huiyuanqiandao", MainHttpConsts.REQUEST_BONUS) .params("uuid_Device", DeviceUtils.getUniqueDeviceId()) .params("lastlogindevice", "Android") .params("model", android.os.Build.BRAND + android.os.Build.MODEL) @@ -135,7 +135,7 @@ public class MainHttpUtil { * 获取签到奖励 */ public static void getBonus(HttpCallback callback) { - HttpClient.getInstance().get("User.getBonus", MainHttpConsts.GET_BONUS) + HttpClient.getInstance().get("lingquyonghudenglujiangli", MainHttpConsts.GET_BONUS) .execute(callback); } @@ -143,7 +143,7 @@ public class MainHttpUtil { * 用于用户首次登录设置分销关系 */ public static void setDistribut(String code, HttpCallback callback) { - HttpClient.getInstance().get("User.setDistribut", MainHttpConsts.SET_DISTRIBUT) + HttpClient.getInstance().get("shezhifenxiaoshangji", MainHttpConsts.SET_DISTRIBUT) .params("code", code) .execute(callback); } @@ -152,7 +152,7 @@ public class MainHttpUtil { * 首页直播 */ public static void getHot(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getHot", MainHttpConsts.GET_HOT) + HttpClient.getInstance().get("huoquremenzhubo", MainHttpConsts.GET_HOT) .params("p", p) .execute(callback); } @@ -161,7 +161,7 @@ public class MainHttpUtil { * 首页推荐直播 */ public static void getRandom(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getRandom", MainHttpConsts.GET_RANDOM) + HttpClient.getInstance().get("huoqutuijianzhubo", MainHttpConsts.GET_RANDOM) .execute(callback); } @@ -169,7 +169,7 @@ public class MainHttpUtil { * 首页关注直播 */ public static void getHomeFollow(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getFollow", MainHttpConsts.GET_HOME_FOLLOW) + HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", MainHttpConsts.GET_HOME_FOLLOW) .params("p", p) .execute(callback); } @@ -178,7 +178,7 @@ public class MainHttpUtil { * 首页红包专区 */ public static void getRedPacket(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getRedPacket", MainHttpConsts.GET_RANDOM) + HttpClient.getInstance().get("huoquhongbaozhuanquliebiao", MainHttpConsts.GET_RANDOM) .execute(callback); } @@ -186,7 +186,7 @@ public class MainHttpUtil { * 首页 */ public static void getFollow(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getFollow", MainHttpConsts.GET_FOLLOW) + HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", MainHttpConsts.GET_FOLLOW) .params("p", p) .execute(callback); } @@ -195,7 +195,7 @@ public class MainHttpUtil { * 首页 附近 */ public static void getNear(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getNearby", MainHttpConsts.GET_NEAR) + HttpClient.getInstance().get("huoqufujinzhubo", MainHttpConsts.GET_NEAR) .params("lng", CommonAppConfig.getInstance().getLng()) .params("lat", CommonAppConfig.getInstance().getLat()) .params("p", p) @@ -205,7 +205,7 @@ public class MainHttpUtil { //排行榜 魅力榜 public static void profitList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.profitList", MainHttpConsts.PROFIT_LIST) + HttpClient.getInstance().get("shouyibangdan", MainHttpConsts.PROFIT_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -213,7 +213,7 @@ public class MainHttpUtil { //排行榜 豪气榜 public static void consumeList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.consumeList", MainHttpConsts.CONSUME_LIST) + HttpClient.getInstance().get("gongxianbangdan", MainHttpConsts.CONSUME_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -222,7 +222,7 @@ public class MainHttpUtil { //排行榜 盲盒榜 public static void blindBoxList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.blindBoxList", MainHttpConsts.BLIND_BOX_LIST) + HttpClient.getInstance().get("manghebangdan", MainHttpConsts.BLIND_BOX_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -233,7 +233,7 @@ public class MainHttpUtil { * 获取谷歌 */ public static void getGoogle(String token, final CommonCallback commonCallback) { - HttpClient.getInstance().get("Charge.getChargeHide", MainHttpConsts.GET_BASE_INFO) + HttpClient.getInstance().get("huoqucongzhijiekouxinxi", MainHttpConsts.GET_BASE_INFO) .params("terminal", "1") .params("token", token) .execute(new HttpCallback() { @@ -262,7 +262,7 @@ public class MainHttpUtil { * 获取用户信息 */ public static void getBaseInfo(String uid, String token, final CommonCallback commonCallback) { - HttpClient.getInstance().get("User.getBaseInfos", MainHttpConsts.GET_BASE_INFO) + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", MainHttpConsts.GET_BASE_INFO) .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -297,7 +297,7 @@ public class MainHttpUtil { } public static void getBaseInfos(String uid, String token, HttpCallback callback) { - HttpClient.getInstance().get("User.getBaseInfos", MainHttpConsts.GET_BASE_INFO) + HttpClient.getInstance().get("huoquyonghujibenxinxiv2", MainHttpConsts.GET_BASE_INFO) .execute(callback); } @@ -314,7 +314,7 @@ public class MainHttpUtil { * 获取用户钱 */ public static void getBalance(HttpCallback callback) { - HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance") + HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue") .execute(callback); } @@ -330,7 +330,7 @@ public class MainHttpUtil { * 拉黑对方, 解除拉黑 */ public static void setBlack(String toUid, HttpCallback callback) { - HttpClient.getInstance().get("User.setBlack", MainHttpConsts.SET_BLACK) + HttpClient.getInstance().get("shezhilaheizhuangtai", MainHttpConsts.SET_BLACK) .params("touid", toUid) .execute(callback); } @@ -339,8 +339,9 @@ public class MainHttpUtil { * 获取个性设置列表 */ public static void getSettingList(HttpCallback callback) { - HttpClient.getInstance().get("User.getPerSetting", MainHttpConsts.GET_SETTING_LIST) + HttpClient.getInstance().get("huoqugexingshezhiliebiao", MainHttpConsts.GET_SETTING_LIST) .params("version", VersionUtil.getVersion()) + .params("package_name","hoso") .execute(callback); } @@ -348,7 +349,7 @@ public class MainHttpUtil { * 搜索 */ public static void search(String key, int type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.search", MainHttpConsts.SEARCH) + HttpClient.getInstance().get("shouyesousuohuiyuan", MainHttpConsts.SEARCH) .params("key", key) .params("type", type) .params("p", p) @@ -371,7 +372,7 @@ public class MainHttpUtil { * 获取我的拉黑列表 */ public static void getBlackList(int p, HttpCallback callback) { - HttpClient.getInstance().get("User.getBlackList", "User.getBlackList") + HttpClient.getInstance().get("huoquheimingdanliebiao", "huoquheimingdanliebiao") .params("p", p) .execute(callback); } @@ -382,7 +383,7 @@ public class MainHttpUtil { * @param touid 对方的uid */ public static void getFollowList(String touid, int p, HttpCallback callback) { - HttpClient.getInstance().get("User.getFollowsList", MainHttpConsts.GET_FOLLOW_LIST) + HttpClient.getInstance().get("huoquguanzhuliebiao", MainHttpConsts.GET_FOLLOW_LIST) .params("touid", touid) .params("p", p) .execute(callback); @@ -394,7 +395,7 @@ public class MainHttpUtil { * @param touid 对方的uid */ public static void getFansList(String touid, int p, HttpCallback callback) { - HttpClient.getInstance().get("User.getFansList", MainHttpConsts.GET_FANS_LIST) + HttpClient.getInstance().get("huoqufensiliebiao", MainHttpConsts.GET_FANS_LIST) .params("touid", touid) .params("p", p) .execute(callback); @@ -405,7 +406,7 @@ public class MainHttpUtil { * 上传头像,用post */ public static void updateAvatar(File file, HttpCallback callback) { - HttpClient.getInstance().post("User.updateAvatar", MainHttpConsts.UPDATE_AVATAR) + HttpClient.getInstance().post("shangchuantouxiang", MainHttpConsts.UPDATE_AVATAR) .isMultipart(true) .params("file", file) .execute(callback); @@ -417,7 +418,7 @@ public class MainHttpUtil { * @param fields 用户资料 ,以json形式出现 */ public static void updateFields(String fields, HttpCallback callback) { - HttpClient.getInstance().get("User.updateFields", MainHttpConsts.UPDATE_FIELDS) + HttpClient.getInstance().get("xiugaiyonghuxinxi", MainHttpConsts.UPDATE_FIELDS) .params("fields", fields) .execute(callback); } @@ -427,7 +428,7 @@ public class MainHttpUtil { * 获取 我的收益 可提现金额数 */ public static void getProfit(HttpCallback callback) { - HttpClient.getInstance().get("User.getProfit", MainHttpConsts.GET_PROFIT) + HttpClient.getInstance().get("huoquwodeshouyi", MainHttpConsts.GET_PROFIT) .execute(callback); } @@ -435,7 +436,7 @@ public class MainHttpUtil { * 获取 提现账户列表 */ public static void getCashAccountList(HttpCallback callback) { - HttpClient.getInstance().get("User.getUserAccountList", MainHttpConsts.GET_USER_ACCOUNT_LIST) + HttpClient.getInstance().get("huoquyonghutixianzhanghao", MainHttpConsts.GET_USER_ACCOUNT_LIST) .execute(callback); } @@ -444,7 +445,7 @@ public class MainHttpUtil { * 添加 提现账户 */ public static void addCashAccount(String account, String name, String bank, int type, HttpCallback callback) { - HttpClient.getInstance().get("User.setUserAccount", MainHttpConsts.ADD_CASH_ACCOUNT) + HttpClient.getInstance().get("shezhiyonghutixianzhanghao", MainHttpConsts.ADD_CASH_ACCOUNT) .params("account", account) .params("name", name) .params("account_bank", bank) @@ -456,7 +457,7 @@ public class MainHttpUtil { * 删除 提现账户 */ public static void deleteCashAccount(String accountId, HttpCallback callback) { - HttpClient.getInstance().get("User.delUserAccount", MainHttpConsts.DEL_CASH_ACCOUNT) + HttpClient.getInstance().get("shanchuyonghutixianzhanghao", MainHttpConsts.DEL_CASH_ACCOUNT) .params("id", accountId) .execute(callback); } @@ -465,7 +466,7 @@ public class MainHttpUtil { * 提现 */ public static void doCash(String votes, String accountId, HttpCallback callback) { - HttpClient.getInstance().get("User.setCash", MainHttpConsts.DO_CASH) + HttpClient.getInstance().get("yonghutixian", MainHttpConsts.DO_CASH) .params("cashvote", votes)//提现的票数 .params("accountid", accountId)//账号ID .execute(callback); @@ -476,7 +477,7 @@ public class MainHttpUtil { * 分类直播 */ public static void getClassLive(int classId, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getClassLive", MainHttpConsts.GET_CLASS_LIVE) + HttpClient.getInstance().get("huoqufenleizhibo", MainHttpConsts.GET_CLASS_LIVE) .params("liveclassid", classId) .params("p", p) .execute(callback); @@ -486,7 +487,7 @@ public class MainHttpUtil { * 获取自己收到的主播印象列表 */ public static void getMyImpress(HttpCallback callback) { - HttpClient.getInstance().get("User.getMyLabel", MainHttpConsts.GET_MY_IMPRESS) + HttpClient.getInstance().get("huoquyingxiangbiaoqian", MainHttpConsts.GET_MY_IMPRESS) .execute(callback); } @@ -494,7 +495,7 @@ public class MainHttpUtil { * 用于用户首次登录推荐 */ public static void getRecommend(HttpCallback callback) { - HttpClient.getInstance().get("Home.getRecommend", MainHttpConsts.GET_RECOMMEND) + HttpClient.getInstance().get("huoqutuijian", MainHttpConsts.GET_RECOMMEND) .execute(callback); } @@ -503,7 +504,7 @@ public class MainHttpUtil { * 用于用户首次登录推荐,关注主播 */ public static void recommendFollow(String touid, HttpCallback callback) { - HttpClient.getInstance().get("Home.attentRecommend", MainHttpConsts.RECOMMEND_FOLLOW) + HttpClient.getInstance().get("guanzhutuijianzhubo", MainHttpConsts.RECOMMEND_FOLLOW) .params("touid", touid) .execute(callback); } @@ -513,7 +514,7 @@ public class MainHttpUtil { */ public static void getRegisterCode(String mobile, HttpCallback callback) { String sign = MD5Util.getMD5("mobile=" + mobile + "&" + SALT); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_REGISTER_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_REGISTER_CODE) .params("mobile", mobile) .params("sign", sign) .params("source", "1") @@ -531,7 +532,7 @@ public class MainHttpUtil { MacUitl macUitl = new MacUitl(); String uuid = DeviceUtils.getUniqueDeviceId(); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_REGISTER_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_REGISTER_CODE) .params("mobile", mobile) .params("country_code", countryCode + "") .params("sign", sign) @@ -548,7 +549,7 @@ public class MainHttpUtil { * 第三方绑定手机号 */ public static void bindPhone(String mobile, int countryCode, String uid, String token, String user_pass, String user_pass2, String code, HttpCallback callback) { - HttpClient.getInstance().get("Login.bindMobile", MainHttpConsts.BINDMOBILE) + HttpClient.getInstance().get("bangdingshoujihao", MainHttpConsts.BINDMOBILE) .params("mobile", mobile) .params("country_code", countryCode + "") .params("uid", uid, true) @@ -563,7 +564,7 @@ public class MainHttpUtil { * 修改绑定手机号 */ public static void updateBindMobile(String mobile, int countryCode, String uid, String token, String code, HttpCallback callback) { - HttpClient.getInstance().get("Login.updateBindMobile", MainHttpConsts.UPDATEBINDMOBILE) + HttpClient.getInstance().get("genghuanshoujihao", MainHttpConsts.UPDATEBINDMOBILE) .params("mobile", mobile) .params("country_code", countryCode + "") .params("uid", uid, true) @@ -595,7 +596,7 @@ public class MainHttpUtil { } else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) { appSource = "2"; } - HttpClient.getInstance().get("Login.userReg", MainHttpConsts.REGISTER) + HttpClient.getInstance().get("huiyuanzhuce", MainHttpConsts.REGISTER) .params("user_login", user_login) .params("app_source", appSource) //增加参数:推广码 @@ -619,7 +620,7 @@ public class MainHttpUtil { * 找回密码 */ public static void findPwd(String user_login, String pass, String pass2, String code, HttpCallback callback) { - HttpClient.getInstance().get("Login.userFindPass", MainHttpConsts.FIND_PWD) + HttpClient.getInstance().get("yonghuzhaohuimima", MainHttpConsts.FIND_PWD) .params("user_login", user_login) .params("user_pass", pass) .params("user_pass2", pass2) @@ -632,7 +633,7 @@ public class MainHttpUtil { * 重置密码 */ public static void modifyPwd(String oldpass, String pass, String pass2, HttpCallback callback) { - HttpClient.getInstance().get("User.updatePass", MainHttpConsts.MODIFY_PWD) + HttpClient.getInstance().get("xiugaimima", MainHttpConsts.MODIFY_PWD) .params("oldpass", oldpass) .params("pass", pass) .params("pass2", pass2) @@ -645,7 +646,7 @@ public class MainHttpUtil { */ public static void getFindPwdCode(String mobile, String country_code, HttpCallback callback) { // String sign = MD5Util.getMD5("mobile=" + mobile + "&" + SALT); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_FIND_PWD_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_FIND_PWD_CODE) .params("mobile", mobile) .params("country_code", country_code) .params("source", "1") @@ -658,7 +659,7 @@ public class MainHttpUtil { * 三级分销页面 获取二维码 */ public static void getQrCode(HttpCallback callback) { - HttpClient.getInstance().get("Agent.getCode", MainHttpConsts.GET_QR_CODE) + HttpClient.getInstance().get("huoqufenxiangxinxi", MainHttpConsts.GET_QR_CODE) .params("source", "1") .execute(callback); } @@ -668,7 +669,7 @@ public class MainHttpUtil { * 首页的排行榜轮播 */ public static void getHomeTop(HttpCallback callback) { - HttpClient.getInstance().get("Home.consumeproList", MainHttpConsts.HOME_TOP) + HttpClient.getInstance().get("gongxianzhoubang", MainHttpConsts.HOME_TOP) .params("type", "month") .params("p", "1") .execute(callback); @@ -678,7 +679,7 @@ public class MainHttpUtil { * 动态赠送礼物 */ public static void sendDynamicGift(String id, int gift_num, String gift_id, HttpCallback callback) { - HttpClient.getInstance().get("Community.sendDynamicGift", MainHttpConsts.SEND_DYNAMICGIFT) + HttpClient.getInstance().get("zengsongdongtailiwu", MainHttpConsts.SEND_DYNAMICGIFT) .params("dynamic_id", id) .params("gift_num", gift_num) .params("gift_id", gift_id) @@ -689,7 +690,7 @@ public class MainHttpUtil { * 动态赠送礼物列表 */ public static void getDynamicGiftInfo(HttpCallback callback) { - HttpClient.getInstance().get("Community.getDynamicGiftInfo", MainHttpConsts.GET_DYNAMICGIFTINFO) + HttpClient.getInstance().get("huoqushequdongtailiwuxinxi", MainHttpConsts.GET_DYNAMICGIFTINFO) .execute(callback); } @@ -697,7 +698,7 @@ public class MainHttpUtil { * 社区动态礼物信息列表 */ public static void getDynamicSendGiftList(String id, int page, HttpCallback callback) { - HttpClient.getInstance().get("Community.getDynamicSendGiftList", MainHttpConsts.GET_DYNAMICSENDGIFTLIST) + HttpClient.getInstance().get("huoqushequdongtailiwuliebiao", MainHttpConsts.GET_DYNAMICSENDGIFTLIST) .params("dynamic_id", id) .params("page", page) .execute(callback); @@ -709,7 +710,7 @@ public class MainHttpUtil { * 是否是主播 */ public static void isAnchor(HttpCallback callback) { - HttpClient.getInstance().get("User.isAnchor", MainHttpConsts.ISANCHOR) + HttpClient.getInstance().get("shifouweizhubozhanghao", MainHttpConsts.ISANCHOR) .execute(callback); } @@ -717,7 +718,7 @@ public class MainHttpUtil { * 是否是完成任务 */ public static void getUserFrontTaskType(HttpCallback callback) { - HttpClient.getInstance().get("Task.getUserFrontTaskType", MainHttpConsts.GET_USER_FRONTTASKTYPE) + HttpClient.getInstance().get("huoquqianzhirenwushifouwancheng", MainHttpConsts.GET_USER_FRONTTASKTYPE) .execute(callback); } @@ -725,7 +726,7 @@ public class MainHttpUtil { * 客服地址 */ public static void getCustomerService(HttpCallback callback) { - HttpClient.getInstance().get("Home.getCustomerService", MainHttpConsts.GETCUSTOMERSERVICE) + HttpClient.getInstance().get("huoqudengluyekefu", MainHttpConsts.GETCUSTOMERSERVICE) .execute(callback); } @@ -733,7 +734,7 @@ public class MainHttpUtil { * 获取im备注信息 */ public static void getInstructorRemark(HttpCallback callback) { - HttpClient.getInstance().get("User.getInstructorRemark", MainHttpConsts.GETINSTRUCTORREMARK) + HttpClient.getInstance().get("huoqutuiguangbeizhumingliebiao", MainHttpConsts.GETINSTRUCTORREMARK) .execute(callback); } @@ -741,13 +742,13 @@ public class MainHttpUtil { * 是否管理员 */ public static void isInstructor(HttpCallback callback) { - HttpClient.getInstance().get("User.isInstructor", MainHttpConsts.ISINSTRUCTOR) + HttpClient.getInstance().get("shifouweituiguangzhanghao", MainHttpConsts.ISINSTRUCTOR) .execute(callback); } // public static void setMessageReadAll() { - HttpClient.getInstance().get("User.getUserInstructor", "") + HttpClient.getInstance().get("huoquyonghuzhidaoyuan", "") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -770,7 +771,7 @@ public class MainHttpUtil { * 订单通知 */ public static void hwNotify(String InAppPurchaseData, String Signature, String orderId, HttpCallback callback) { - HttpClient.getInstance().get("Charge.HuaweiNotify", "Charge.HuaweiNotify") + HttpClient.getInstance().get("huaweizhifuhuidiao", "huaweizhifuhuidiao") .params("InAppPurchaseData", InAppPurchaseData) .params("InAppDataSignature", Signature) .params("SelfOrderId", orderId) diff --git a/main/src/main/java/com/yunbao/main/views/HonorViewHolder.java b/main/src/main/java/com/yunbao/main/views/HonorViewHolder.java index 195613565..cb7319d01 100644 --- a/main/src/main/java/com/yunbao/main/views/HonorViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/HonorViewHolder.java @@ -74,7 +74,7 @@ public class HonorViewHolder extends AbsUserHomeViewHolder { /** * 获取用户荣誉和座骑 */ - HttpClient.getInstance().get("User.medalCarList", LiveHttpConsts.GET_USER_LIST) + HttpClient.getInstance().get("xunzhangzuoqiliebiao", LiveHttpConsts.GET_USER_LIST) .params("uid", mToUid,true) .execute(new HttpCallback() { @Override diff --git a/main/src/main/java/com/yunbao/main/views/MainGameViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainGameViewHolder.java new file mode 100644 index 000000000..6c1660415 --- /dev/null +++ b/main/src/main/java/com/yunbao/main/views/MainGameViewHolder.java @@ -0,0 +1,59 @@ +package com.yunbao.main.views; + +import android.content.Context; +import android.view.ViewGroup; +import android.widget.FrameLayout; +import android.widget.LinearLayout; + +import com.yunbao.common.activity.AbsActivity; +import com.yunbao.common.utils.DpUtil; +import com.yunbao.common.views.AbsMainViewHolder; +import com.yunbao.main.R; + +public class MainGameViewHolder extends AbsMainViewHolder { + MainHomeGameViewHolder mGameViewHolder; + + + public MainGameViewHolder(Context context, ViewGroup parentView) { + super(context, parentView); + } + + @Override + public void onCreateHolder() { + super.onCreateHolder(); + } + + @Override + protected int getLayoutId() { + return R.layout.view_game_holder; + } + + @Override + public void init() { + ViewGroup rootGroup= (ViewGroup) findViewById(R.id.rootView); + mGameViewHolder = new MainHomeGameViewHolder((AbsActivity) mContext,rootGroup); + mGameViewHolder.addToParent(); + FrameLayout.LayoutParams params= (FrameLayout.LayoutParams) rootGroup.getLayoutParams(); + params.topMargin= DpUtil.dp2px(20); + rootGroup.setLayoutParams(params); + + } + + @Override + public void onDestroy() { + super.onDestroy(); + mGameViewHolder.onDestroy(); + } + + @Override + public void onResume() { + super.onResume(); + mGameViewHolder.onResume(); + } + + @Override + public void onPause() { + super.onPause(); + mGameViewHolder.onPause(); + } +} diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java index e1b31fa0e..51dec167b 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java @@ -174,7 +174,6 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl String[] titles; private void initTab() { - //TODO 短剧 titles = new String[]{"社區"/*, "短劇"*/}; if (!WordUtil.isNewZh()) { titles = new String[]{"Community"/*, "Theater"*/}; diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeGameViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeGameViewHolder.java index 605e2e89f..4a7586195 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeGameViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeGameViewHolder.java @@ -13,6 +13,7 @@ import android.widget.TextView; import androidx.recyclerview.widget.LinearLayoutManager; +import com.blankj.utilcode.util.LogUtils; import com.google.gson.Gson; import com.lxj.xpopup.XPopup; import com.lxj.xpopup.enums.PopupPosition; @@ -150,7 +151,7 @@ public class MainHomeGameViewHolder extends AbsMainHomeChildViewHolder implement }); mRefreshView.initData(); mRefreshView.setEmptyLayoutId(R.layout.sud_no_data); - ViewClicksAntiShake.clicksAntiShake(findViewById(com.yunbao.common.R.id.random_start), new ViewClicksAntiShake.ViewClicksCallBack() { + ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.random_start), new ViewClicksAntiShake.ViewClicksCallBack() { @Override public void onViewClicks() { LiveNetManager.get(mContext) diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeLiveViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeLiveViewHolder.java index 1fe92a305..349150cad 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeLiveViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeLiveViewHolder.java @@ -163,9 +163,9 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { @Override public int getSpanSize(int position) { - if (position == 0) { + /* if (position == 0) { return 2; - } + }*/ return 1; } }); @@ -174,6 +174,7 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement decoration.setOnlySetItemOffsetsButNoDraw(true); mRefreshView.setItemDecoration(decoration); mAdapter = new MainHomeLiveAdapter(mContext, MainActivity.Height); + mAdapter.hideBanner(); mAdapter.setOnItemClickListener(MainHomeLiveViewHolder.this); mAdapter.setHasStableIds(true);// mRefreshView.setLoadMoreEnable(true); @@ -344,6 +345,7 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement } View headView = mAdapter.getHeadView(); mBanner = (Banner) headView.findViewById(R.id.banner); + mBanner.setVisibility(View.GONE); mRefreshView.initData(); mBanner.setOutlineProvider(new ViewOutlineProvider() { @Override @@ -431,6 +433,15 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement private void showBanner() { if (mBannerList == null || mBannerList.size() == 0 || mBanner == null) { + mBanner.setVisibility(View.GONE); + mAdapter.hideBanner(); + GridLayoutManager gridLayoutManager=mRefreshView.getLayoutManager(); + gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { + @Override + public int getSpanSize(int position) { + return 1; + } + }); return; } if (mBannerShowed) { diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeViewHolder.java index 5fc84cd3f..3a761306a 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeViewHolder.java @@ -14,13 +14,16 @@ import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; +import com.alibaba.fastjson.JSON; import com.lxj.xpopup.XPopup; import com.lxj.xpopup.core.BottomPopupView; import com.yunbao.common.dialog.GiftWallDialog; import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.manager.RandomSudGameManager; +import com.yunbao.common.utils.AesUtils; import com.yunbao.common.utils.AppManager; import com.yunbao.common.utils.DebugUtils; +import com.yunbao.common.utils.L; import com.yunbao.common.utils.MobclickAgent; import com.yunbao.common.activity.AbsActivity; import com.yunbao.common.event.FloatWarOrderEvent; @@ -33,6 +36,8 @@ import com.yunbao.main.R; import org.greenrobot.eventbus.EventBus; +import java.util.Base64; + /** * Created by cxf on 2018/9/22. * MainActivity 首页 删除 @@ -79,7 +84,7 @@ public class MainHomeViewHolder extends AbsMainHomeParentViewHolder { IMLoginManager.get(mContext).getUserInfo().getUserNicename(), null , false).setFullWindows(true).setTab2(true).showDialog();*/ // RouteUtil.forwardBattlePass(); - RandomSudGameManager.getManager().random(mContext); + //RandomSudGameManager.getManager().random(mContext); } }); return true; @@ -93,7 +98,6 @@ public class MainHomeViewHolder extends AbsMainHomeParentViewHolder { } }); } - public void setCurPosition(int position) { mViewPager.setCurrentItem(position); } diff --git a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java index 6ff717a41..d19ae3485 100644 --- a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java @@ -470,6 +470,12 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi case 17: RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY); break; + case 100: + RouteUtil.forwardCommunityActivity(); + break; + case 101: + RouteUtil.forwardActivity(RouteUtil.PATH_MAIN_MESSAGE); + break; } } else { //21 在线客服 @@ -540,7 +546,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi } else if (i == R.id.btn_gold) { MobclickAgent.onEvent(mContext, "my_receive", "充值旁边领取金豆的按钮"); // mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 2)); - String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index"; + String url = CommonAppConfig.HOST + "/h5/task/index.html?1=1"; RewardActivity.forward(mContext, url); } else if (i == R.id.rt_kefu) { WebViewActivity.forward(mContext, beanKefu.getHref(), false); diff --git a/main/src/main/java/com/yunbao/main/views/MainMessageViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainMessageViewHolder.java index 865fda8bf..532d04c2e 100644 --- a/main/src/main/java/com/yunbao/main/views/MainMessageViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainMessageViewHolder.java @@ -1,6 +1,7 @@ package com.yunbao.main.views; import android.app.Activity; +import android.content.Context; import android.content.Intent; import android.os.Handler; import android.text.TextUtils; @@ -73,7 +74,7 @@ public class MainMessageViewHolder extends AbsMainViewHolder { private LinearLayout topLayout, ltNodataMsg; private ImageView imgNewsNotice, imgNewsInteraction, imgNewsOnline, imgSystemMessages; private Handler netHandler; - private MainActivity mContext; + private Activity mContext; private String homeZdyPop; @@ -86,7 +87,7 @@ public class MainMessageViewHolder extends AbsMainViewHolder { return this; } - public MainMessageViewHolder(MainActivity context, ViewGroup parentView) { + public MainMessageViewHolder(Activity context, ViewGroup parentView) { super(context, parentView); mContext = context; } diff --git a/main/src/main/res/drawable/icon_community.webp b/main/src/main/res/drawable/icon_community.webp new file mode 100644 index 0000000000000000000000000000000000000000..0476e0c2abb1825d92496b3c9d6ce1642825854b GIT binary patch literal 2354 zcmV-23C;FWNk&F02><|BMM6+kP&il$0000G0000V0RSHX06|PpNJIw!00Hn80E`yd z*0x1L9PBvQIG`NNH~bJ>m}q*^~I0n4hVi33*2G6EWM ziG=KI#k368BS*5HW;HFX3oCJuoTr!+vOc#s4trxu%1U1$u^IxdYHyY) zA+z^)2vWoS7^h0974p-H> zv(n9G(e4*T)<1W{;mAcb2UdD%;qXO?hpm?q&Uj6;c~tBKW(h?nxMp!-wHJW-2!lts z=wd##AAq4np!ILK?B>M2Is%|sobiHi-DF<5D*zaqAKgZ{^ybD&X8^Q_3tkW|Ui|Fc z0l*jcrrQXYKbvE806YFx% zERy+VM*#C%D&(;_v*HPU-mpO;#T&ZYQ21$q`GqL_b0SM{U@ ziEIH_b%lD)mSHMpRByzS;i>va~k_m~0 zU4cA9iI^=|a#f#bkjNvN<_h%@C1SR4$rEf381je`54##3Oo{l%0{->{{EI*yXNy?L z6N#A#<$*LLJ3Ik=)d?YuBo=gYl}Zu|d%XvPSm4_o_)!b}pzPsp(aV%NT-7eHQQB}- zyU0ctg@u2|cUBV5?7o2UGgP3_v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q*6=@KaY^ZqYdo*VKBgxf74NUE{QexP7xd-^`LTzx;`DT1L?#!NH1!YA= z!NGvt<+ZQVw75G=sHnQz@(hFw6%YUb{M{FP zbz}yJRQKa7n-NuWRs+e`3ri7utw24f&&J~CVRvPE_&C0X|NR6>#mYsnzLr=^z$-sJ YjsMfbj$aw2)XY3)d{b1zJBwfd0CK5ky#N3J literal 0 HcmV?d00001 diff --git a/main/src/main/res/drawable/icon_community_p.webp b/main/src/main/res/drawable/icon_community_p.webp new file mode 100644 index 0000000000000000000000000000000000000000..0d902e6f64e75c02c7f993ce80233d84bffac4ed GIT binary patch literal 4322 zcmV<85FPJQNk&H65C8yIMM6+kP&il$0000G0000V0RSHX06|PpNJIw!00Hn80E`yd z*0x1L9PBvQIG`NNH~bJ>m}q*^~I0n4hVi33*2G6EWM ziG=KI#k368BS*5HW;HFX3oCJuoTr!+vOc#s4trxu%1U1$u^IxdYHyY) zA+z^)2vWoS7^h0974p-H> zv(n9G(e4*T)<1W{;mAcb2UdD%;qXO?hpm?q&Uj6;c~tBKW(h?nxMp!-wHJW-2!lts z=wd##AAq4np!ILK?B>M2Is%|sobiHi-DF<5D*zaqAKgZ{^ybD&X8^Q_3tkW|Ui|Fc z0l*jcrrQXYKbvE806YFx% zERy+VM*#C%D&(;_v*HPU-mpO;#T&ZYQ21$q`GqL_b0SM{U@ ziEIH_b%lD)mSHMpRByzS;i>va~k_m~0 zU4cA9iI^=|a#f#bkjNvN<_h%@C1SR4$rEf381je`54##3Oo{l%0{->{{EI*yXNy?L z6N#A#<$*LLJ3Ik=)d?YuBo=gYl}Zu|d%XvPSm4_o_)!b}pzPsp(aV%NT-7eHQQB}- zyU0ctg@u2|cUBV5?7o2UGgP3_vHQD$&q%OFo#8CJC{%1Q|- zY`JVD7r3hBQzlA7VasYO8NgL7vohhu6}I$hqwB&|Eyp}vQ`yz>ERC)Pm&3Bn-&ayL zwT#OTT>~y`d2c1YvZ>`>CW;IfwmaB{sD@STE*?`r_|0}JrBN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+-WOR^aKuVV*CAjDQj-;u<*u~q&gNExyvmV= zpmLvzQD~=&zsbxxsURrgN`;Ai8C{(NMM+=<;2&(`=BssZ~dLJ{?GFF~xyzH{mY30lWRl}*kRLw}+g~uX`EH9uxo~qmW zDO~j_G}t0R0sqkD(L3zUyaQtO#j1Y2Bf=l~x?6j@8aWGc9{Q2q007-fNaqdx2LDOV zVF?n2+j1RI$?5(Y0hqmGa@p%_ML?tuOLTKqn^*I)oLcY55}x6!{6}ry$wk(wF1cv{ z1j$oTUXHzzb;|S|F7)H*;XFZpIl#Fjsl8RvP*oEZ6`hQOb zm`>_$6;^SOmIMR68j7Zw#p>k5;GGcm@ay>eT!ph1eor3#l?qMt;A zLzSbZ3oYR*Wjbz*d$s3YLmf}UJqhbXdMAbf2I$dNhX5jevQb%o1 z3*^_e=`o|(3N`q#O}zZm-FAQle={`0XpJtRNJzl}g^?FB(P=naoa~1^a?}W+$^KXgQ{{C9LBWXd|7{H!B97ihDp6 z(lOnnbrF`B2kz6V1DFg+gq`n&eEO8wBaCEjnjz`cN5LtoyVBnh#DC9P=!8&{apDEv zeL18K$Q0wz#iDV~5eP6!Qf#OD_*bWf-%`PGdGJj&!imZ{H(`^DQJ5N zV6xv{{69WR%y9}!FGeXT`5bwC*rNs%3t$EqB99%2hMdb$h_$1?WM5x4Pn)oQSGo+7 z7E_d~|KmCL11Iqnc_BH?$4yh^L@mcHf}g1amNJk(73NZM?M3bJ)42}1np5aT7t%6w zhliD^69G5nQ7-S5ZiL|Qg*LHrP~%BIlgc+hC)H$ZH49V7v{9Fr#&zN-Q>_Ka9`{Dr z@B$Yw>0LIRi8d48DBMH8u|&}z_886=# zC^XT)0vR_;Sso8($!TtR(vQr89>y5G->IL&7&3{-j|jXh?mW>8`95#?spR0n*xjl- QE8L0BT_FGf000000E~S&Jpcdz literal 0 HcmV?d00001 diff --git a/main/src/main/res/drawable/icon_home.webp b/main/src/main/res/drawable/icon_home.webp new file mode 100644 index 0000000000000000000000000000000000000000..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&3yyQCt(`iyt<{nr;m7|!dIbPhP&gnw0RR9n z9{`;JDj)$M0X}Uumq;WdA|WQo0DujNX>Q?jCGKNzw4DI_0Q~^`{qOKU8t5TZKspFj z5DtMHy2~=CGnJS<#lt=ZX%xV>hhW^0BCC;=85v3U7Yp%RwERchI`^?xDzP@qWG8uW zxf!-^s`@nE%$Oe4;SBg0#ls0|?LlwzcR>4#hI|a+(MLrt8SpcUh7eKuz^Wh}1S((a zE+$?!)CI`Cgt8O43reFl&Cv6*6S)gYqc(gN_(L;Jw`HX|xC&pKH5c*QlURLQm82X@ zV&Fj8t3DgX&=AR0Al`x=;^ChH`z}fUAsigx1ir|qUS1p_lC!pW+fWxHHq-^jzySXL zSOD|e6$PQ`JHD0%h2L-f+F}d8pZ#q0tVmAzJEU9@daHmJX<_OAH_9bDrUFZUNM`@0 GXaE4Z;qIpZ literal 0 HcmV?d00001 diff --git a/main/src/main/res/drawable/icon_home_p.webp b/main/src/main/res/drawable/icon_home_p.webp new file mode 100644 index 0000000000000000000000000000000000000000..5283849905f5a7208ad785f5d807afb9e25c71c4 GIT binary patch literal 2560 zcmV+b3jg&|Nk&Ha2><|BMM6+kP&il$0000G0000V0RSHX06|PpNT~z>00E#@+jiA# zi-b7nk$?l@pg0H)S_i=ab&%Hq5+VT!M?xf=?|$joWb^NdhzSTk{{KO)tfe09&$TSm z-4I``+rRAXCAUF*HT#dxEO$WMy8Vy63VU(u_J40e-P-L7HS?C5eW_;7q}dlA!dKkv z%d3#}?)LS%F_qL@YGx@lbF0Eo{Fv)1?8L2`_f4o-)c|VdB{c)7Pfp}8pjG&YTQ{s# z$ar^yt8XTf8f48ZOwC|7VIY1CdX>?OTQ~Gu9J)pA0yU3YYIc#D#!RYRXqEAbTeoYi zGFb0!m#cZCQnO3eJWA5+vYU)h{Me;e8J?}%#rJJ&lG*@j9+%W?5Oo?8sWy;R#v^Xs z#&VOvSi23U=8;IvhE($?NV8!*WCY@7LtEwY-rWXQw`)sk1FZSFQnNum<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*#(v!`J8^O7yH@7hMXvKynsw`U*RPUpHTp zRh;YW)v~j!B>ilm0jdMJql#KxeP@w?2Y_1@pvYU8chy`;EvRU`>v*p#p20TouQTnb zSw&pcgs%jzWbGk3u!=yLtT`Dv4P_J_6y!?J3T=Gm>CHC4dL0smv?Dv;uyeNR3T$*MfWFF_Hrs z(A&~P&brnN)c|$==$vGz_1w`vMU6)Sy zmTmrnNEtc9&doyVzi9XW-uNS~IHNo1VxK>Yf$dnQ&*I>FR_&<@5_JIQy>?@&=-7O5 Wr`YGpJNDv&l;Sr#!XsJ$0000t|N2q@ literal 0 HcmV?d00001 diff --git a/main/src/main/res/drawable/icon_main_start.webp b/main/src/main/res/drawable/icon_main_start.webp new file mode 100644 index 0000000000000000000000000000000000000000..7010a92df15f82cc8c9d626409e52ae5ef519c49 GIT binary patch literal 25864 zcmZtMV{j(C8!-C2#@4oN+qT=SZQHi(c580!Zf)DPb=SuG{Lh>Z@0>X^$){wJOfr*6 zuIr~FEg=Cg0|0)DizsO*acRN=005-_>JP~Oim;rLRFf(I0D=c$x5)$(uy&0Q8kq^; zZ8!BbX=e3yJQ;=boxi}8L)gOVBBu%LvDWEqZTm+r$`oP*ZG^;(WzIC!XSBz3n_y_k z#1ujdDGC>kr3v@0Gx74c^8Q4Q6FsUW<{50NlTId`+!NNs+w>54y7eI#^Ecb;s(X2( zigTgWE*uFGAKF~WNNJd8m=k+q+GePh3u`NH~?Wt{7(Es!C{2_zUpr>c&Tju_`qs}3A zHecZD?(SvR|Lb@#BLDm6{`Ic>zusSmlzL5FM|GwkpiBArf_|UZtB3&~cR#?Ly04q? z^D2gA&E^a{B5GJ@fxS!5>zl78(k zpz?h?R8VBMj>$VmM?65a3IQ@U6MNpbyV+r+hxdY}G2!kVARkJ8X_7mLP9=e%Ms`j< zcTaJ}a0biqo=!A#@icnhtN{mwr5YQgF-~S{{Z@jaOgc=gsneFD1G0?;B<+mx-QlG&rcVZdxM^1WU3U7 zqSb+Yka+vWYs_a~L_$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K;9%=ZR7IMh9wJYqB`iiDKoI) UhL!xrIAJO+!XO|3000000DfR9>i_@% literal 0 HcmV?d00001 diff --git a/main/src/main/res/drawable/icon_message.webp b/main/src/main/res/drawable/icon_message.webp new file mode 100644 index 0000000000000000000000000000000000000000..c65a03b3445ce50fc72850bcfe0fb8f786909b19 GIT binary patch literal 1558 zcmV+x2I=`yNk&Ev1^@t8MM6+kP&il$0000G0000V0RSHX06|PpNTvh;00E#708HfA ziUb@q5^zu)Y#o4usRQbOb-;5l5|A(wA^{0`_b*q%zawG-;D7)B@Be?yM6_bH*h- zD+`+ZddwFVb~cN##NsAg%CoY>p9}e9p{G@t!eYO02}mq>!Ub4j(UYB?tt|X%Cl^?O zerkbL=qDCfiGEs^)#xT=s~)PI5)vzta6(9|O2YYEtjudVpRCR_nHMYcITd7;+KC|P zgv>lLEA^bllhyj11XjINoI_#7mMH{Q?Q;T1x~XQo%*xHfSyrzbjr3Cn3#?#27HNpg zNP$%xMa2ETS?RZaoYp@2Ika~4leCulDOx-GxwJ<8RISy1Snb`Q-fq3v?cwxx-$f6-`Ch`G zL|6K_nfq~yuV#M(b3e*tYP!QOO(4mYyMbTgK@&*^em{`Z=nlVc;wDbs_8=_}Z~rnFnfJj{RuLLrVqrrr zVigoNfjAIh8;Eks(ALy(A~ZHtOxOtGIM@o3lul@E>L>-8J1O~QP)0f0K^2l|7e=ui z6d7I69!G%=lZ?&|ppHR395RYM&={qMAfuy)GOdS<{Isqff{c!76*c&6M{0;GJ7ko4 zpfT8VkYsdrV0cj1L6K4Iz>N~y8I}>>+Qm^yyC9|5?iz(%vm&Ld8S=2X6|$7rwaVi# zHp+4;jgSW}ZII=}zD*v9A1w??s$z@4Lsx9@$&%vI0P9#x__i0ziu2o$cyz)yy;xeD z--N{D6Tan><;4Zx;fSaB`eXKDi81*KuQ~27ANZFK*dKL!(DpdDN7^38_IPX$+#XQ3 zN7)`}dxY(Q+XL$M$lK%C9=JV#wny3?ZhJu89%*~H?E$ns;`T7x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fw|KKmRi#02kz8#h_@`tnt_2 z9yuSZ*Ucb-@4FL}7<0F7bI8}Hf#$Xe=TnG|(ijP%d#>>b_v^T;n1Nu7$L0|Lx#AHJ zAf45awDH5WAU~oZiLLitD+_AW2mH@{PyTbZSy_jz3x!f8|K^Oujn=t5A`s>qTHpba zfhUYWc{k+Lc(SF~ew3S&mGXy;qRaCA$9#-dA{K|FNS_1RK$0juOl35x(u!QbN zyV3>(J-d;iB!YJ=X7n;apV~wX-8$ZNm7y*h7|^iDh^E$T_h}DTaO|G>ulCpSvESyZ-ra|Ll*RH=$dvekSurNFBd-bhV16o=bX=JR`vEUS(6PZWzc{_8X<9rl_Aj z4||J*Jy{pH!Zf^5aQ0^-7sRpVw1Ws+F=Iq82Iu2{{-sw%uKwE$3!r^wSBD4%;CliE zyIzTCv>PRDeYKYZCB+6=!BtMTxl2_Er5Ywh3Wkxo*JB9qU1%;D_#w4%ZOjPs{J=nL z@Bciq5&stG@ai|XZnk>#a2fyWPW9($WP=zF_N3S3kT$Fwmr2MG$$wUtZU^tI$pv!k z*)m{SzCM1fM8k1lqaN#{ISn+jkHkxM$$rj);`Px|^zuhBA^1`EHhp$K2b#kcA zrPyj|4k1tF|2ZNhPfWK2hA_sB$H(qv`yjXlO1=TaDUxN#dJYkpyQ=xZHwjc^jMwD> zSamb;!ToMti82B)sXjXZ#|aoWc_9vYk+heI;OhuBSX{`d`cTa=Ich?AAj#NHT||&V@M%252HFAmk1i0tXA00jccUKp UBlZ_woqWgBbKbxJ000000QQLuv;Y7A literal 0 HcmV?d00001 diff --git a/main/src/main/res/layout/activity_entry.xml b/main/src/main/res/layout/activity_entry.xml index 536d0fc60..8c66aa88c 100644 --- a/main/src/main/res/layout/activity_entry.xml +++ b/main/src/main/res/layout/activity_entry.xml @@ -233,12 +233,15 @@ android:layout_gravity="center" android:layout_weight="1" android:src="@mipmap/login_line" - android:visibility="visible" /> + android:visibility="visible" + tools:visibility="gone" /> + android:layout_weight="1" + tools:visibility="gone"> diff --git a/main/src/main/res/layout/view_game_holder.xml b/main/src/main/res/layout/view_game_holder.xml new file mode 100644 index 000000000..b87077f76 --- /dev/null +++ b/main/src/main/res/layout/view_game_holder.xml @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/main/src/main/res/layout/view_homemain.xml b/main/src/main/res/layout/view_homemain.xml index 4f0ccaa39..0cc07a179 100644 --- a/main/src/main/res/layout/view_homemain.xml +++ b/main/src/main/res/layout/view_homemain.xml @@ -144,7 +144,7 @@ android:layout_height="60dp" android:layout_centerInParent="true" android:onClick="mainClick" - android:src="@mipmap/icon_main_start" /> + android:src="@drawable/icon_main_start" /> diff --git a/main/src/main/res/layout/view_main_community.xml b/main/src/main/res/layout/view_main_community.xml index f56d4dc3c..3df795dac 100644 --- a/main/src/main/res/layout/view_main_community.xml +++ b/main/src/main/res/layout/view_main_community.xml @@ -10,8 +10,9 @@ android:id="@+id/indicator" android:layout_width="wrap_content" android:layout_height="45dp" - android:overScrollMode="never" android:layout_gravity="center" + android:overScrollMode="never" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/main/src/main/res/layout/view_main_community_video.xml b/main/src/main/res/layout/view_main_community_video.xml index d687eed6b..dc18dbaf0 100644 --- a/main/src/main/res/layout/view_main_community_video.xml +++ b/main/src/main/res/layout/view_main_community_video.xml @@ -23,6 +23,7 @@ android:gravity="center"> diff --git a/main/src/main/res/layout/view_main_me.xml b/main/src/main/res/layout/view_main_me.xml index 0c7cf9798..f63c381a6 100644 --- a/main/src/main/res/layout/view_main_me.xml +++ b/main/src/main/res/layout/view_main_me.xml @@ -45,7 +45,7 @@ - + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:textStyle="bold" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/linearLayout6" /> - + @@ -446,7 +453,7 @@ android:background="@color/gray_dcdcdc" /> - + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:textStyle="bold" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/linearLayout7" /> - + - + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:textStyle="bold" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/linearLayout8" /> - + diff --git a/main/src/main/res/layout/view_main_message.xml b/main/src/main/res/layout/view_main_message.xml index a783924f1..a38cca295 100644 --- a/main/src/main/res/layout/view_main_message.xml +++ b/main/src/main/res/layout/view_main_message.xml @@ -5,10 +5,21 @@ android:orientation="vertical" android:paddingTop="20dp"> - - + - + - @mipmap/home_00000 - @mipmap/home_00001 - @mipmap/home_00002 - @mipmap/home_00003 - @mipmap/home_00004 - @mipmap/home_00005 - @mipmap/home_00006 - @mipmap/home_00007 - @mipmap/home_00008 - @mipmap/home_00009 - @mipmap/home_00010 - @mipmap/home_00011 - @mipmap/home_00012 - @mipmap/home_00013 - @mipmap/home_00014 - @mipmap/home_00015 - @mipmap/home_00016 - @mipmap/home_00017 - @mipmap/home_00018 - @mipmap/home_00019 - @mipmap/home_00020 - @mipmap/home_00021 - @mipmap/home_00022 - @mipmap/home_00023 - @mipmap/home_00024 - @mipmap/home_00025 - @mipmap/home_00026 - @mipmap/home_00027 - @mipmap/home_00028 - @mipmap/home_00029 - @mipmap/home_00030 - @mipmap/home_00031 - @mipmap/home_00032 - @mipmap/home_00033 - @mipmap/home_00034 - @mipmap/home_00035 - @mipmap/home_00036 - @mipmap/home_00037 - @mipmap/home_00038 - @mipmap/home_00039 - @mipmap/home_00040 - @mipmap/home_00041 - @mipmap/home_00042 - @mipmap/home_00043 - @mipmap/home_00044 - @mipmap/home_00045 - @mipmap/home_00046 - @mipmap/home_00047 - @mipmap/home_00048 - @mipmap/home_00049 - @mipmap/home_00050 - @mipmap/home_00051 - @mipmap/home_00052 - @mipmap/home_00053 - @mipmap/home_00054 - @mipmap/home_00055 - @mipmap/home_00056 - @mipmap/home_00057 - @mipmap/home_00058 - @mipmap/home_00059 + @drawable/icon_home + @drawable/icon_home_p - @mipmap/community_00000 - @mipmap/community_00001 - @mipmap/community_00002 - @mipmap/community_00003 - @mipmap/community_00004 - @mipmap/community_00005 - @mipmap/community_00006 - @mipmap/community_00007 - @mipmap/community_00008 - @mipmap/community_00009 - @mipmap/community_00010 - @mipmap/community_00011 - @mipmap/community_00012 - @mipmap/community_00013 - @mipmap/community_00014 - @mipmap/community_00015 - @mipmap/community_00016 - @mipmap/community_00017 - @mipmap/community_00018 - @mipmap/community_00019 - @mipmap/community_00020 - @mipmap/community_00021 - @mipmap/community_00022 - @mipmap/community_00023 - @mipmap/community_00024 - @mipmap/community_00025 - @mipmap/community_00026 - @mipmap/community_00027 - @mipmap/community_00028 - @mipmap/community_00029 - @mipmap/community_00030 - @mipmap/community_00031 - @mipmap/community_00032 - @mipmap/community_00033 - @mipmap/community_00034 - @mipmap/community_00035 - @mipmap/community_00036 - @mipmap/community_00037 - @mipmap/community_00038 - @mipmap/community_00039 - @mipmap/community_00040 - @mipmap/community_00041 - @mipmap/community_00042 - @mipmap/community_00043 - @mipmap/community_00044 - @mipmap/community_00045 - @mipmap/community_00046 - @mipmap/community_00047 - @mipmap/community_00048 - @mipmap/community_00049 - @mipmap/community_00050 - @mipmap/community_00051 - @mipmap/community_00052 - @mipmap/community_00053 - @mipmap/community_00054 - @mipmap/community_00055 - @mipmap/community_00056 - @mipmap/community_00057 - @mipmap/community_00058 - @mipmap/community_00059 + @drawable/icon_community + @drawable/icon_community_p @@ -139,127 +23,11 @@ - @mipmap/message_00000 - @mipmap/message_00001 - @mipmap/message_00002 - @mipmap/message_00003 - @mipmap/message_00004 - @mipmap/message_00005 - @mipmap/message_00006 - @mipmap/message_00007 - @mipmap/message_00008 - @mipmap/message_00009 - @mipmap/message_00010 - @mipmap/message_00011 - @mipmap/message_00012 - @mipmap/message_00013 - @mipmap/message_00014 - @mipmap/message_00015 - @mipmap/message_00016 - @mipmap/message_00017 - @mipmap/message_00018 - @mipmap/message_00019 - @mipmap/message_00020 - @mipmap/message_00021 - @mipmap/message_00022 - @mipmap/message_00023 - @mipmap/message_00024 - @mipmap/message_00025 - @mipmap/message_00026 - @mipmap/message_00027 - @mipmap/message_00028 - @mipmap/message_00029 - @mipmap/message_00030 - @mipmap/message_00031 - @mipmap/message_00032 - @mipmap/message_00033 - @mipmap/message_00034 - @mipmap/message_00035 - @mipmap/message_00036 - @mipmap/message_00037 - @mipmap/message_00038 - @mipmap/message_00039 - @mipmap/message_00040 - @mipmap/message_00041 - @mipmap/message_00042 - @mipmap/message_00043 - @mipmap/message_00044 - @mipmap/message_00045 - @mipmap/message_00046 - @mipmap/message_00047 - @mipmap/message_00048 - @mipmap/message_00049 - @mipmap/message_00050 - @mipmap/message_00051 - @mipmap/message_00052 - @mipmap/message_00053 - @mipmap/message_00054 - @mipmap/message_00055 - @mipmap/message_00056 - @mipmap/message_00057 - @mipmap/message_00058 - @mipmap/message_00059 + @drawable/icon_message + @drawable/icon_message_p - @mipmap/me_00000 - @mipmap/me_00001 - @mipmap/me_00002 - @mipmap/me_00003 - @mipmap/me_00004 - @mipmap/me_00005 - @mipmap/me_00006 - @mipmap/me_00007 - @mipmap/me_00008 - @mipmap/me_00009 - @mipmap/me_00010 - @mipmap/me_00011 - @mipmap/me_00012 - @mipmap/me_00013 - @mipmap/me_00014 - @mipmap/me_00015 - @mipmap/me_00016 - @mipmap/me_00017 - @mipmap/me_00018 - @mipmap/me_00019 - @mipmap/me_00020 - @mipmap/me_00021 - @mipmap/me_00022 - @mipmap/me_00023 - @mipmap/me_00024 - @mipmap/me_00025 - @mipmap/me_00026 - @mipmap/me_00027 - @mipmap/me_00028 - @mipmap/me_00029 - @mipmap/me_00030 - @mipmap/me_00031 - @mipmap/me_00032 - @mipmap/me_00033 - @mipmap/me_00034 - @mipmap/me_00035 - @mipmap/me_00036 - @mipmap/me_00037 - @mipmap/me_00038 - @mipmap/me_00039 - @mipmap/me_00040 - @mipmap/me_00041 - @mipmap/me_00042 - @mipmap/me_00043 - @mipmap/me_00044 - @mipmap/me_00045 - @mipmap/me_00046 - @mipmap/me_00047 - @mipmap/me_00048 - @mipmap/me_00049 - @mipmap/me_00050 - @mipmap/me_00051 - @mipmap/me_00052 - @mipmap/me_00053 - @mipmap/me_00054 - @mipmap/me_00055 - @mipmap/me_00056 - @mipmap/me_00057 - @mipmap/me_00058 - @mipmap/me_00059 + @drawable/icon_me + @drawable/icon_me_p \ No newline at end of file diff --git a/package_config.gradle b/package_config.gradle index 1234cc581..00ef890e0 100644 --- a/package_config.gradle +++ b/package_config.gradle @@ -47,7 +47,7 @@ android { google_test { dimension 'packageApk' if (project.getPluginManager().hasPlugin("com.android.application")) { - applicationId "com.newpdlive.sy" + applicationId "com.yhosolive.oy" } manifestPlaceholders = [ serverHost : rootProject.ext.manifestPlaceholders.testServerHost, @@ -62,7 +62,7 @@ android { google_online { dimension 'packageApk' if (project.getPluginManager().hasPlugin("com.android.application")) { - applicationId "com.newpdlive.sy" + applicationId "com.yhosolive.oy" } manifestPlaceholders = [ serverHost : rootProject.ext.manifestPlaceholders.serverHost, diff --git a/video/src/main/java/com/yunbao/video/http/VideoHttpUtil.java b/video/src/main/java/com/yunbao/video/http/VideoHttpUtil.java index 167407ed8..ec06002ef 100644 --- a/video/src/main/java/com/yunbao/video/http/VideoHttpUtil.java +++ b/video/src/main/java/com/yunbao/video/http/VideoHttpUtil.java @@ -29,7 +29,7 @@ public class VideoHttpUtil { * 获取首页视频列表 */ public static void getHomeVideoList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Video.getVideoList", VideoHttpConsts.GET_HOME_VIDEO_LIST) + HttpClient.getInstance().get("zhhuoqurenmenshipin", VideoHttpConsts.GET_HOME_VIDEO_LIST) .params("p", p) .execute(callback); } @@ -39,7 +39,7 @@ public class VideoHttpUtil { * 视频点赞 */ public static void setVideoLike(String tag, String videoid, HttpCallback callback) { - HttpClient.getInstance().get("Video.addLike", tag) + HttpClient.getInstance().get("zhshipindianzan", tag) .params("videoid", videoid) .execute(callback); } @@ -48,7 +48,7 @@ public class VideoHttpUtil { * 获取视频评论 */ public static void getVideoCommentList(String videoid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Video.getComments", VideoHttpConsts.GET_VIDEO_COMMENT_LIST) + HttpClient.getInstance().get("zhshipinpinglunliebiao", VideoHttpConsts.GET_VIDEO_COMMENT_LIST) .params("videoid", videoid) .params("p", p) .execute(callback); @@ -58,7 +58,7 @@ public class VideoHttpUtil { * 评论点赞 */ public static void setCommentLike(String commentid, HttpCallback callback) { - HttpClient.getInstance().get("Video.addCommentLike", VideoHttpConsts.SET_COMMENT_LIKE) + HttpClient.getInstance().get("zhpinglundianzan", VideoHttpConsts.SET_COMMENT_LIKE) .params("commentid", commentid) .execute(callback); } @@ -67,7 +67,7 @@ public class VideoHttpUtil { * 发表评论 */ public static void setComment(String toUid, String videoId, String content, String commentId, String parentId, HttpCallback callback) { - HttpClient.getInstance().get("Video.setComment", VideoHttpConsts.SET_COMMENT) + HttpClient.getInstance().get("zhfabupinglun", VideoHttpConsts.SET_COMMENT) .params("touid", toUid) .params("videoid", videoId) .params("commentid", commentId) @@ -82,7 +82,7 @@ public class VideoHttpUtil { * 获取评论回复 */ public static void getCommentReply(String commentid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Video.getReplys", VideoHttpConsts.GET_COMMENT_REPLY) + HttpClient.getInstance().get("zhpinglunhuifuliebiao", VideoHttpConsts.GET_COMMENT_REPLY) .params("commentid", commentid) .params("p", p) .execute(callback); @@ -149,7 +149,7 @@ public class VideoHttpUtil { * 上传视频,获取七牛云token的接口 */ public static void getQiNiuToken(HttpCallback callback) { - HttpClient.getInstance().get("Video.getQiniuToken", VideoHttpConsts.GET_QI_NIU_TOKEN) + HttpClient.getInstance().get("zhhuoquqiniushangchuanlingpai", VideoHttpConsts.GET_QI_NIU_TOKEN) .execute(callback); } @@ -163,7 +163,7 @@ public class VideoHttpUtil { * @param musicId 背景音乐Id */ public static void saveUploadVideoInfo(String title, String thumb, String href, int musicId, boolean openLocation, HttpCallback callback) { - HttpClient.getInstance().get("Video.setVideo", VideoHttpConsts.SAVE_UPLOAD_VIDEO_INFO) + HttpClient.getInstance().get("zhfabuduanshipin", VideoHttpConsts.SAVE_UPLOAD_VIDEO_INFO) .params("lat", openLocation ? String.valueOf(CommonAppConfig.getInstance().getLat()) : "") .params("lng", openLocation ? String.valueOf(CommonAppConfig.getInstance().getLng()) : "") .params("city", openLocation ? CommonAppConfig.getInstance().getCity() : "") @@ -186,7 +186,7 @@ public class VideoHttpUtil { * 获取某人发布的视频 */ public static void getHomeVideo(String toUid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Video.getHomeVideo", VideoHttpConsts.GET_HOME_VIDEO) + HttpClient.getInstance().get("zhgerenzhuyeshipin", VideoHttpConsts.GET_HOME_VIDEO) .params("touid", toUid) .params("p", p) .execute(callback); @@ -197,7 +197,7 @@ public class VideoHttpUtil { * 获取举报内容列表 */ public static void getVideoReportList(HttpCallback callback) { - HttpClient.getInstance().get("Video.getReportContentlist", VideoHttpConsts.GET_VIDEO_REPORT_LIST) + HttpClient.getInstance().get("zhhuoqushipinjubaofenlei", VideoHttpConsts.GET_VIDEO_REPORT_LIST) .execute(callback); } @@ -205,7 +205,7 @@ public class VideoHttpUtil { * 举报视频接口 */ public static void videoReport(String videoId, String reportId, String content, HttpCallback callback) { - HttpClient.getInstance().get("Video.report", VideoHttpConsts.VIDEO_REPORT) + HttpClient.getInstance().get("zhjubaoshipin", VideoHttpConsts.VIDEO_REPORT) .params("videoid", videoId) .params("type", reportId) .params("content", content) @@ -216,7 +216,7 @@ public class VideoHttpUtil { * 删除自己的视频 */ public static void videoDelete(String videoid, HttpCallback callback) { - HttpClient.getInstance().get("Video.del", VideoHttpConsts.VIDEO_DELETE) + HttpClient.getInstance().get("zhshanchushipin", VideoHttpConsts.VIDEO_DELETE) .params("videoid", videoid) .execute(callback); } @@ -227,7 +227,7 @@ public class VideoHttpUtil { public static void setVideoShare(String videoid, HttpCallback callback) { String uid = CommonAppConfig.getInstance().getUid(); String s = MD5Util.getMD5(uid + "-" + videoid + "-" + VIDEO_SALT); - HttpClient.getInstance().get("Video.addShare", VideoHttpConsts.SET_VIDEO_SHARE) + HttpClient.getInstance().get("zhshipinfenxiang", VideoHttpConsts.SET_VIDEO_SHARE) .params("uid", uid,true) .params("videoid", videoid) .params("random_str", s) @@ -245,7 +245,7 @@ public class VideoHttpUtil { } VideoHttpUtil.cancel(VideoHttpConsts.VIDEO_WATCH_START); String s = MD5Util.getMD5(uid + "-" + videoId + "-" + VIDEO_SALT); - HttpClient.getInstance().get("Video.addView", VideoHttpConsts.VIDEO_WATCH_START) + HttpClient.getInstance().get("zhshipinyuedushuleiji", VideoHttpConsts.VIDEO_WATCH_START) .params("uid", uid,true) .params("videoid", videoId) .params("random_str", s) @@ -262,7 +262,7 @@ public class VideoHttpUtil { } VideoHttpUtil.cancel(VideoHttpConsts.VIDEO_WATCH_END); String s = MD5Util.getMD5(uid + "-" + videoId + "-" + VIDEO_SALT); - HttpClient.getInstance().get("Video.setConversion", VideoHttpConsts.VIDEO_WATCH_END) + HttpClient.getInstance().get("zhgengxinshipinkanwancishu", VideoHttpConsts.VIDEO_WATCH_END) .params("uid", uid,true) .params("videoid", videoId) .params("random_str", s) diff --git a/video/src/main/java/com/yunbao/video/upload/VideoUploadFtpImpl.java b/video/src/main/java/com/yunbao/video/upload/VideoUploadFtpImpl.java index 107b9a46c..414dfe6f3 100644 --- a/video/src/main/java/com/yunbao/video/upload/VideoUploadFtpImpl.java +++ b/video/src/main/java/com/yunbao/video/upload/VideoUploadFtpImpl.java @@ -32,7 +32,7 @@ public class VideoUploadFtpImpl implements VideoUploadStrategy { if (videoUploadBean == null || callback == null) { return; } - PostRequest postRequest = OkGo.post("http://www.mytoday.net/api/public/?service=Video.uploadvideo") + PostRequest postRequest = OkGo.post("http://www.mytoday.net/Video.uploadvideo") .params("uid", "13640") .params("token", "0e6371c5a642e8b48748a4d994303473") .params("file", videoUploadBean.getVideoFile())