修改盲盒问题
This commit is contained in:
parent
9926997fd7
commit
aacd8b8735
@ -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",
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user