后台:补单

This commit is contained in:
luying
2022-09-06 15:18:54 +08:00
parent fc5a93134e
commit bc1c17d5f0
3 changed files with 68 additions and 5 deletions
@@ -125,9 +125,9 @@ export async function makeLimitPackageReward(roleId: string, roleName: string, s
if (!item) {
return STATUS.ACTIVITY_NO_PRODUCT;
}
if (item.countMax > 0 && item.buyCount >= item.countMax) {
return STATUS.ACTIVITY_MAX_COUNT;
}
// if (item.countMax > 0 && item.buyCount >= item.countMax) {
// return STATUS.ACTIVITY_MAX_COUNT;
// }
let rewardArray = stringToRewardParam(item.reward)
let result = await addReward(roleId, roleName, sid, serverId, rewardArray, ITEM_CHANGE_REASON.BUY_LIMIT_PACKAGE);