支付:代金券功能

This commit is contained in:
luying
2022-07-11 18:08:00 +08:00
parent b9af56fd07
commit ae369f7bf2
14 changed files with 179 additions and 93 deletions
@@ -474,6 +474,15 @@ export function getHonourObject(count: number) {
return { id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.HONOUR), count };
}
/**
* @description 获取代金券物品 { id, count }
* @param count 元宝数量
*/
export function getVoucherObject(count: number) {
return { id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.VOUCHER), count };
}
/**
* 返回 解锁头像/相框
* @param conditions 解锁条件