修改盲盒问题

This commit is contained in:
18401019693 2023-06-03 14:35:39 +08:00
parent 9926997fd7
commit aacd8b8735
2 changed files with 7 additions and 3 deletions

View File

@ -9,9 +9,9 @@ ext {
] ]
manifestPlaceholders = [ manifestPlaceholders = [
// //
serverHost : "https://napi.yaoulive.com", // serverHost : "https://napi.yaoulive.com",
// //
// serverHost : "https://ceshi.yaoulive.com", serverHost : "https://ceshi.yaoulive.com",
// //
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",

View File

@ -910,7 +910,11 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
} }
} }
SendGiftCallback callback = new SendGiftCallback(mLiveGiftBean); SendGiftCallback callback = new SendGiftCallback(mLiveGiftBean);
if (!StringUtil.isEmpty(mWishGiftId) && mLiveGiftBean.getId() != Integer.parseInt(mWishGiftId)) { try {
if (!StringUtil.isEmpty(mWishGiftId) && mLiveGiftBean.getId() != Integer.parseInt(mWishGiftId)) {
isContactGift = 0;
}
} catch (NumberFormatException e) {
isContactGift = 0; isContactGift = 0;
} }
if (by != null) { if (by != null) {