Merge branch 'feature/pay_for_diamond' into dev
This commit is contained in:
commit
ce9238ccdb
@ -67,7 +67,7 @@ export default async function (call: ApiCall<ReqReceive, ResReceive>) {
|
||||
}
|
||||
const activityData = canReceiveResult.activityInfo.data;
|
||||
const remaining = typeof activityData['remaining'] === 'number'? activityData['remaining'] : activityData['totalmoney'];
|
||||
const { group, maxAmount } = randomWithWeight(activityData['groupConf']['arr']);
|
||||
const { group, maxAmount } = randomWithWeight(activityData['groupConf']['base']['arr']);
|
||||
const gotAmount = calcDiamondGot(remaining, group, maxAmount);
|
||||
// 减去余额
|
||||
const filter = {
|
||||
|
Loading…
Reference in New Issue
Block a user