fix:1、修复bug。2、更换域名,香港环境也能登
This commit is contained in:
@@ -138,7 +138,7 @@ namespace RedHotRoast
|
||||
btnSign.title = signList[index].id + "";
|
||||
|
||||
btnSign.touchable = false;
|
||||
btnSign.reward_num.text = GameHelper.IsGiftSwitch()?GameHelper.getChString(signList[index].quantity[0]):GameHelper.Get101Str(signList[index].quantity[0]);
|
||||
btnSign.reward_num.text = GameHelper.IsGiftSwitch()?GameHelper.Get102Str(signList[index].quantity[0]):GameHelper.Get101Str(signList[index].quantity[0]);
|
||||
|
||||
var animName = "appear2";
|
||||
if (index % 5 == 4)
|
||||
@@ -216,15 +216,18 @@ namespace RedHotRoast
|
||||
for (var i = 0; i < vo.item1.Length; i++)
|
||||
{
|
||||
var rewardNum = vo.quantity[i];
|
||||
var typeId = 101;
|
||||
if (GameHelper.IsGiftSwitch())
|
||||
{
|
||||
rewardNum *= (decimal)GameHelper.GetExchangeRateVo().Multi;
|
||||
typeId = vo.item1[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
rewardNum = GameHelper.Get101Str(vo.quantity[i]).As<decimal>();
|
||||
}
|
||||
var rewardData = new RewardSingleData(101, rewardNum, RewardOrigin.SignIn,index)
|
||||
|
||||
var rewardData = new RewardSingleData(typeId, rewardNum, RewardOrigin.SignIn,index)
|
||||
{
|
||||
startPosition = startPos,
|
||||
endPosition = new Vector2(ui.com_gold.x - 150, ui.com_gold.y - 136)
|
||||
|
||||
Reference in New Issue
Block a user