feat(活动): 添加弹出礼包逻辑

This commit is contained in:
luying
2023-10-11 21:11:35 +08:00
parent e4e692458b
commit 92e9549a21
3 changed files with 53 additions and 8 deletions

View File

@@ -44,7 +44,11 @@ export class PopUpShopHandler {
let { conditionType } = msg;
if(
conditionType != POP_UP_SHOP_CONDITION_TYPE.GACHA_RES_NOT_ENOUGH &&
conditionType != POP_UP_SHOP_CONDITION_TYPE.TERAPH_RES_NOT_ENOUGH
conditionType != POP_UP_SHOP_CONDITION_TYPE.TERAPH_RES_NOT_ENOUGH &&
conditionType != POP_UP_SHOP_CONDITION_TYPE.STONE_NOT_ENOUGH &&
conditionType != POP_UP_SHOP_CONDITION_TYPE.EQUIP_STAR_NOT_ENOUGH &&
conditionType != POP_UP_SHOP_CONDITION_TYPE.FAVOR_NOT_ENOUGH &&
conditionType != POP_UP_SHOP_CONDITION_TYPE.EXP_NOT_ENOUGH
) {
return resResult(STATUS.WRONG_PARMS);
}