feat(消息): 添加推送消息sdk

This commit is contained in:
luying
2023-03-21 20:50:27 +08:00
parent 45fd46700f
commit 65a94fc4cc
19 changed files with 409 additions and 17 deletions

View File

@@ -66,6 +66,7 @@ export class GachaHandler {
let resultList: GachaResultIndb[] = [], heroInfo: CreateHeroParam[] = [], items: RewardInter[] = [], consume: ItemInter[] = [];
for(let { dic, min, max } of getDicGachas(dicGacha.gachaType, historyCount, count)) {
if(dicGacha.gachaType != GACHA_TYPE.NORMAL && dic.id != gachaId) continue;
// console.log('##########', dic, min, max)
let _count = max + 1 - min;
let gachaPull = new GachaPull(dic, { hope, floor, pickHero });