一件购买修改
parent
7c331eef67
commit
becc82c425
|
@ -109,6 +109,5 @@ public interface GlobalsDef {
|
|||
//特殊商店id
|
||||
|
||||
int DAILY_GOODS_FAST_ID = 1004;//每日礼包一键购买的礼包ID
|
||||
int[] DAILY_RECHARGE_IDS = new int[]{1001, 1002, 1003};//所有每日礼包,用来在一键购买每日礼包之后,把所有每日礼包设置为购买过的状态
|
||||
|
||||
}
|
||||
|
|
|
@ -363,7 +363,8 @@ public class BuyGoodsLogic {
|
|||
|
||||
if (goodsId == GlobalsDef.DAILY_GOODS_FAST_ID) {
|
||||
//每日礼包一键购买之后,把所有单个的每日礼包的购买次数加一
|
||||
for (int gId : GlobalsDef.DAILY_RECHARGE_IDS) {
|
||||
int[] fastGoods = SSpecialConfig.getOnceArrayValue(SSpecialConfig.YIJIANGOUMAI);
|
||||
for (int gId : fastGoods) {
|
||||
rechargeInfo.updateBuyGoodsTimes(gId,1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue