修改盲盒问题

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 = [
//
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",

View File

@ -910,9 +910,13 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
}
}
SendGiftCallback callback = new SendGiftCallback(mLiveGiftBean);
try {
if (!StringUtil.isEmpty(mWishGiftId) && mLiveGiftBean.getId() != Integer.parseInt(mWishGiftId)) {
isContactGift = 0;
}
} catch (NumberFormatException e) {
isContactGift = 0;
}
if (by != null) {
LiveHttpUtil.sendGift("1", mLiveUid, mStream, mLiveGiftBean.getId(), mCount, isContactGift, callback);
} else {